Bug 952596 followup to fix dumb typo and reopen CLOSED TREE.
authorBoris Zbarsky <bzbarsky@mit.edu>
Fri, 28 Feb 2014 09:09:11 -0500
changeset 171503 a32c8d1f084a27ce07eb80f9116773e62f22fceb
parent 171502 21771134f63c16d670ffecb038162651d3e790a8
child 171504 f754248008d0be284782f33620d9f93d17821154
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
bugs952596
milestone30.0a1
Bug 952596 followup to fix dumb typo and reopen CLOSED TREE.
dom/base/nsPIDOMWindow.h
--- a/dom/base/nsPIDOMWindow.h
+++ b/dom/base/nsPIDOMWindow.h
@@ -339,17 +339,17 @@ public:
   // is not identical to IsCurrentInnerWindow() because document.open() will
   // keep the same document active but create a new window.
   bool HasActiveDocument()
   {
     MOZ_ASSERT(IsInnerWindow());
     return IsCurrentInnerWindow() ||
       (mOuterWindow &&
        mOuterWindow->GetCurrentInnerWindow() &&
-       mOuterWindow()->GetCurrentInnerWindow()->GetDoc() == mDoc);
+       mOuterWindow->GetCurrentInnerWindow()->GetDoc() == mDoc);
   }
 
   bool IsOuterWindow() const
   {
     return !IsInnerWindow();
   }
 
   virtual bool WouldReuseInnerWindow(nsIDocument *aNewDocument) = 0;