Bug 605999. Don't put stuff that changes the vtable in a C++ block. r=roc, a=blocker

This commit is contained in:
Boris Zbarsky 2010-10-21 00:09:11 -04:00
parent 08ab79dbaa
commit d802fa2bda
2 changed files with 8 additions and 11 deletions

View File

@ -73,9 +73,4 @@ protected:
PRInt32 aModifiers,
PRBool aIgnoreRootScrollFrame,
PRBool aToWindow);
nsresult RenderDocument(const nsRect& aRect,
PRUint32 aFlags,
nscolor aBackgroundColor,
gfxContext* aThebesContext);
};

View File

@ -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);
};