Update some GetScriptGlobalObject() callers to the right signature. Bug
303084, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky git-svn-id: svn://10.0.0.236/trunk@180862 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2171,8 +2171,7 @@ PrintDocTree(nsIDocShellTreeNode * aParentNode, int aLevel)
|
||||
parentAsDocShell->GetPresContext(getter_AddRefs(presContext));
|
||||
nsIDocument *doc = presShell->GetDocument();
|
||||
|
||||
nsCOMPtr<nsIScriptGlobalObject> sgo;
|
||||
doc->GetScriptGlobalObject(getter_AddRefs(sgo));
|
||||
nsIScriptGlobalObject* sgo = doc->GetScriptGlobalObject();
|
||||
nsCOMPtr<nsIDOMWindowInternal> domwin(do_QueryInterface(sgo));
|
||||
|
||||
nsCOMPtr<nsIWidget> widget;
|
||||
|
||||
Reference in New Issue
Block a user