Bug 591157. Remove unneeded SetDOMDocument call. r=bzbarsky a=jst
This commit is contained in:
@@ -6484,9 +6484,7 @@ nsDocShell::CreateAboutBlankContentViewer(nsIPrincipal* aPrincipal,
|
||||
// hook 'em up
|
||||
if (viewer) {
|
||||
viewer->SetContainer(static_cast<nsIContentViewerContainer *>(this));
|
||||
nsCOMPtr<nsIDOMDocument> domdoc(do_QueryInterface(blankDoc));
|
||||
Embed(viewer, "", 0);
|
||||
viewer->SetDOMDocument(domdoc);
|
||||
|
||||
SetCurrentURI(blankDoc->GetDocumentURI(), nsnull, PR_TRUE);
|
||||
rv = mIsBeingDestroyed ? NS_ERROR_NOT_AVAILABLE : NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user