Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2923)

Unified Diff: chrome/browser/ui/extensions/extension_install_ui_default.cc

Issue 660643002: [Refactor] Move creating a browser if necessary to ExtensionInstallDialogView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/extensions/extension_install_ui_default.cc
diff --git a/chrome/browser/ui/extensions/extension_install_ui_default.cc b/chrome/browser/ui/extensions/extension_install_ui_default.cc
index dd8ca0a2a5d74221ff523234e8c5b994fd9763ad..d4d1b8d296efd66c1038e598b2f18ea74afd7327 100644
--- a/chrome/browser/ui/extensions/extension_install_ui_default.cc
+++ b/chrome/browser/ui/extensions/extension_install_ui_default.cc
@@ -189,10 +189,9 @@ ExtensionInstallPrompt* ExtensionInstallUI::CreateInstallPromptWithProfile(
return CreateInstallPromptWithBrowser(browser);
// No browser window is open yet. Create a free-standing dialog associated
// with |profile|.
- return new ExtensionInstallPrompt(profile, NULL, NULL);
+ return new ExtensionInstallPrompt(profile, NULL);
}
-
// ExtensionInstallUIDefault --------------------------------------------------
ExtensionInstallUIDefault::ExtensionInstallUIDefault(Profile* profile)

Powered by Google App Engine
This is Rietveld 408576698