Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@231758 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3531,7 +3531,6 @@ nsDocShell::Destroy()
|
||||
nsCOMPtr<nsPIDOMWindow> win(do_QueryInterface(mScriptGlobal));
|
||||
win->SetDocShell(nsnull);
|
||||
|
||||
mScriptGlobal->SetGlobalObjectOwner(nsnull);
|
||||
mScriptGlobal = nsnull;
|
||||
}
|
||||
|
||||
@@ -8521,8 +8520,6 @@ nsDocShell::EnsureScriptEnvironment()
|
||||
|
||||
nsCOMPtr<nsPIDOMWindow> win(do_QueryInterface(mScriptGlobal));
|
||||
win->SetDocShell(static_cast<nsIDocShell *>(this));
|
||||
mScriptGlobal->
|
||||
SetGlobalObjectOwner(static_cast<nsIScriptGlobalObjectOwner *>(this));
|
||||
|
||||
// Ensure the script object is set to run javascript - other languages
|
||||
// setup on demand.
|
||||
|
||||
Reference in New Issue
Block a user