mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 605999. Don't put stuff that changes the vtable in a C++ block. r=roc, a=blocker
This commit is contained in:
parent
08ab79dbaa
commit
d802fa2bda
@ -73,9 +73,4 @@ protected:
|
||||
PRInt32 aModifiers,
|
||||
PRBool aIgnoreRootScrollFrame,
|
||||
PRBool aToWindow);
|
||||
|
||||
nsresult RenderDocument(const nsRect& aRect,
|
||||
PRUint32 aFlags,
|
||||
nscolor aBackgroundColor,
|
||||
gfxContext* aThebesContext);
|
||||
};
|
||||
|
@ -51,6 +51,10 @@
|
||||
#include "gfxContext.h"
|
||||
%}
|
||||
|
||||
[ref] native nsConstRect(const nsRect);
|
||||
native nscolor(nscolor);
|
||||
[ptr] native gfxContext(gfxContext);
|
||||
|
||||
interface nsICycleCollectorListener;
|
||||
interface nsIDOMNode;
|
||||
interface nsIDOMNodeList;
|
||||
@ -795,10 +799,8 @@ interface nsIDOMWindowUtils : nsISupports {
|
||||
*/
|
||||
nsIDOMWindow getOuterWindowWithId(in unsigned long long aOuterWindowID);
|
||||
|
||||
%{C++
|
||||
virtual nsresult RenderDocument(const nsRect& aRect,
|
||||
PRUint32 aFlags,
|
||||
nscolor aBackgroundColor,
|
||||
gfxContext* aThebesContext) = 0;
|
||||
%}
|
||||
[noscript] void RenderDocument(in nsConstRect aRect,
|
||||
in PRUint32 aFlags,
|
||||
in nscolor aBackgroundColor,
|
||||
in gfxContext aThebesContext);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user