mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
nsIBrowserWindow::GoTo no longer takes the command parameter.
This commit is contained in:
parent
b1d688174a
commit
87ffa7a323
@ -763,7 +763,7 @@ nsViewerApp::ViewSource(nsString& aURL)
|
||||
bw->mDocShell->SetViewMode(nsIDocShell::viewSource);
|
||||
bw->SetTitle(nsAutoString("View Source").GetUnicode());
|
||||
bw->SetVisibility(PR_TRUE);
|
||||
bw->GoTo(aURL.GetUnicode(),"view-source");
|
||||
bw->GoTo(aURL.GetUnicode());
|
||||
NS_RELEASE(bw);
|
||||
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user