Bug 1177578 - Remove 'No docshells for remote frames' warning in nsFrameLoader::GetDocShell. r=smaug
authorEric Rahm <erahm@mozilla.com>
Tue, 30 Jun 2015 09:33:50 -0700
changeset 250720 6b9d80a126e59bf727a0856ab58070fc40c24cb3
parent 250719 76b550ed61659bd53264e4c0a280ec1a4b54677d
child 250721 6509d3f6a91fd6856985adee8efd13a40f57de7a
push idunknown
push userunknown
push dateunknown
reviewerssmaug
bugs1177578
milestone42.0a1
Bug 1177578 - Remove 'No docshells for remote frames' warning in nsFrameLoader::GetDocShell. r=smaug
dom/base/nsFrameLoader.cpp
--- a/dom/base/nsFrameLoader.cpp
+++ b/dom/base/nsFrameLoader.cpp
@@ -451,17 +451,16 @@ nsFrameLoader::GetDocShell(nsIDocShell *
   // If we have an owner, make sure we have a docshell and return
   // that. If not, we're most likely in the middle of being torn down,
   // then we just return null.
   if (mOwnerContent) {
     nsresult rv = MaybeCreateDocShell();
     if (NS_FAILED(rv))
       return rv;
     if (mRemoteFrame) {
-      NS_WARNING("No docshells for remote frames!");
       return rv;
     }
     NS_ASSERTION(mDocShell,
                  "MaybeCreateDocShell succeeded, but null mDocShell");
   }
 
   *aDocShell = mDocShell;
   NS_IF_ADDREF(*aDocShell);