mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1082486 - Part 2 - Make GetCanvasFrame() returns nsCanvasFrame*. r=roc
PresShell::GetCanvasFrame() already returns nsCanvasFrame*, and it's needed to access nsCanvasFrame's method in a later patch.
This commit is contained in:
parent
521e2843ab
commit
8ebb8ad565
@ -113,7 +113,7 @@ TouchCaret::GetCaretFocusFrame(nsRect* aOutRect)
|
||||
return frame;
|
||||
}
|
||||
|
||||
nsIFrame*
|
||||
nsCanvasFrame*
|
||||
TouchCaret::GetCanvasFrame()
|
||||
{
|
||||
nsCOMPtr<nsIPresShell> presShell = do_QueryReferent(mPresShell);
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "mozilla/TouchEvents.h"
|
||||
#include "Units.h"
|
||||
|
||||
class nsCanvasFrame;
|
||||
class nsIFrame;
|
||||
class nsIPresShell;
|
||||
|
||||
@ -84,7 +85,7 @@ private:
|
||||
/**
|
||||
* Find the nsCanvasFrame which holds the touch caret.
|
||||
*/
|
||||
nsIFrame* GetCanvasFrame();
|
||||
nsCanvasFrame* GetCanvasFrame();
|
||||
|
||||
/**
|
||||
* Retrieve the bounding rectangle of the touch caret.
|
||||
|
Loading…
Reference in New Issue
Block a user