зеркало из https://github.com/mozilla/gecko-dev.git
Bug 993047 - Fix some style nits from f6b0e518f6d2.
--HG-- extra : rebase_source : 9cb1f3c793b066aed1836c08cce786554d61cfd2
This commit is contained in:
Родитель
abc7729b7a
Коммит
073e442f7f
|
@ -1942,11 +1942,11 @@ nsGlobalWindow::TraceGlobalJSObject(JSTracer* aTrc)
|
|||
|
||||
/* static */
|
||||
JSObject*
|
||||
nsGlobalWindow::OuterObject(JSContext* aCx, JS::HandleObject aObj)
|
||||
nsGlobalWindow::OuterObject(JSContext* aCx, JS::Handle<JSObject*> aObj)
|
||||
{
|
||||
nsGlobalWindow *origWin;
|
||||
nsGlobalWindow* origWin;
|
||||
UNWRAP_OBJECT(Window, aObj, origWin);
|
||||
nsGlobalWindow *win = origWin->GetOuterWindowInternal();
|
||||
nsGlobalWindow* win = origWin->GetOuterWindowInternal();
|
||||
|
||||
if (!win) {
|
||||
// If we no longer have an outer window. No code should ever be
|
||||
|
|
|
@ -372,7 +372,7 @@ public:
|
|||
|
||||
virtual bool IsBlackForCC(bool aTracingNeeded = true);
|
||||
|
||||
static JSObject* OuterObject(JSContext* aCx, JS::HandleObject aObj);
|
||||
static JSObject* OuterObject(JSContext* aCx, JS::Handle<JSObject*> aObj);
|
||||
|
||||
// nsIScriptObjectPrincipal
|
||||
virtual nsIPrincipal* GetPrincipal();
|
||||
|
|
Загрузка…
Ссылка в новой задаче