diff --git a/dom/base/nsGlobalWindow.cpp b/dom/base/nsGlobalWindow.cpp index badd59d687a..da24cb73958 100644 --- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -1942,11 +1942,11 @@ nsGlobalWindow::TraceGlobalJSObject(JSTracer* aTrc) /* static */ JSObject* -nsGlobalWindow::OuterObject(JSContext* aCx, JS::HandleObject aObj) +nsGlobalWindow::OuterObject(JSContext* aCx, JS::Handle 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 diff --git a/dom/base/nsGlobalWindow.h b/dom/base/nsGlobalWindow.h index 1581d436932..adf5bbc8e41 100644 --- a/dom/base/nsGlobalWindow.h +++ b/dom/base/nsGlobalWindow.h @@ -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 aObj); // nsIScriptObjectPrincipal virtual nsIPrincipal* GetPrincipal();