mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00: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
ddbe993306
commit
d6a6255879
@ -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