зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1523638
- Part 8: Remove unused arguments from nsDocShell::Embed(), r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D37655 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
6a004f4a3e
Коммит
1fd3e64667
|
@ -6365,8 +6365,7 @@ nsresult nsDocShell::RefreshURIFromQueue() {
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult nsDocShell::Embed(nsIContentViewer* aContentViewer,
|
||||
const char* aCommand, nsISupports* aExtraInfo) {
|
||||
nsresult nsDocShell::Embed(nsIContentViewer* aContentViewer) {
|
||||
// Save the LayoutHistoryState of the previous document, before
|
||||
// setting up new document
|
||||
PersistLayoutHistoryState();
|
||||
|
@ -7181,7 +7180,7 @@ nsresult nsDocShell::CreateAboutBlankContentViewer(
|
|||
// hook 'em up
|
||||
if (viewer) {
|
||||
viewer->SetContainer(this);
|
||||
rv = Embed(viewer, "", 0);
|
||||
rv = Embed(viewer);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
SetCurrentURI(blankDoc->GetDocumentURI(), nullptr, true, 0);
|
||||
|
@ -8338,7 +8337,7 @@ nsresult nsDocShell::CreateContentViewer(const nsACString& aContentType,
|
|||
}
|
||||
}
|
||||
|
||||
NS_ENSURE_SUCCESS(Embed(viewer, "", nullptr), NS_ERROR_FAILURE);
|
||||
NS_ENSURE_SUCCESS(Embed(viewer), NS_ERROR_FAILURE);
|
||||
|
||||
if (TreatAsBackgroundLoad()) {
|
||||
nsCOMPtr<nsIRunnable> triggerParentCheckDocShell =
|
||||
|
|
|
@ -980,8 +980,7 @@ class nsDocShell final : public nsDocLoader,
|
|||
nsresult EnsureFind();
|
||||
nsresult EnsureCommandHandler();
|
||||
nsresult RefreshURIFromQueue();
|
||||
nsresult Embed(nsIContentViewer* aContentViewer, const char* aCommand,
|
||||
nsISupports* aExtraInfo);
|
||||
nsresult Embed(nsIContentViewer* aContentViewer);
|
||||
nsPresContext* GetEldestPresContext();
|
||||
nsresult CheckLoadingPermissions();
|
||||
nsresult PersistLayoutHistoryState();
|
||||
|
|
Загрузка…
Ссылка в новой задаче