Bug 894646 - Various dom deCOM cleanups r=Ms2ger

This commit is contained in:
David Zbarsky
2013-07-23 16:39:17 -07:00
parent db9a8a4f4e
commit 2dc6c7f6e8
26 changed files with 183 additions and 213 deletions

View File

@@ -8624,7 +8624,7 @@ nsDocShell::InternalLoad(nsIURI * aURI,
// First, notify any nsIContentPolicy listeners about the document load.
// Only abort the load if a content policy listener explicitly vetos it!
//
nsCOMPtr<nsIDOMElement> requestingElement;
nsCOMPtr<Element> requestingElement;
// Use nsPIDOMWindow since we _want_ to cross the chrome boundary if needed
if (mScriptGlobal)
requestingElement = mScriptGlobal->GetFrameElementInternal();