Backed out changeset c1c441c9edce (bug 845668) for frequent Windows mochitest-2 crashes.

CLOSED TREE
This commit is contained in:
Ryan VanderMeulen 2013-06-13 18:31:27 -04:00
parent 2bdf1d7bcf
commit 44a3f39ea8
2 changed files with 3 additions and 0 deletions

View File

@ -2049,6 +2049,8 @@ nsFrameLoader::TryRemoteBrowser()
nsCOMPtr<nsIBrowserDOMWindow> browserDOMWin; nsCOMPtr<nsIBrowserDOMWindow> browserDOMWin;
rootChromeWin->GetBrowserDOMWindow(getter_AddRefs(browserDOMWin)); rootChromeWin->GetBrowserDOMWindow(getter_AddRefs(browserDOMWin));
mRemoteBrowser->SetBrowserDOMWindow(browserDOMWin); mRemoteBrowser->SetBrowserDOMWindow(browserDOMWin);
mChildHost = static_cast<ContentParent*>(mRemoteBrowser->Manager());
} }
return true; return true;
} }

View File

@ -434,6 +434,7 @@ private:
bool mVisible : 1; bool mVisible : 1;
// XXX leaking // XXX leaking
nsCOMPtr<nsIObserver> mChildHost;
RenderFrameParent* mCurrentRemoteFrame; RenderFrameParent* mCurrentRemoteFrame;
TabParent* mRemoteBrowser; TabParent* mRemoteBrowser;