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

Unified Diff: chrome/browser/extensions/extension_storage_monitor.cc

Issue 382133003: Refactored ExtensionUninstallDialog to take a NativeWindow instead of a Browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback Created 6 years, 5 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/extensions/extension_storage_monitor.cc
diff --git a/chrome/browser/extensions/extension_storage_monitor.cc b/chrome/browser/extensions/extension_storage_monitor.cc
index b03ed58d4bf94f9cfafaff30d76b68b84f82cf8a..2a958345e790721da45be24fb45413f59565cb03 100644
--- a/chrome/browser/extensions/extension_storage_monitor.cc
+++ b/chrome/browser/extensions/extension_storage_monitor.cc
@@ -547,8 +547,8 @@ void ExtensionStorageMonitor::ShowUninstallPrompt(
return;
if (!uninstall_dialog_.get()) {
- uninstall_dialog_.reset(ExtensionUninstallDialog::Create(
- Profile::FromBrowserContext(context_), NULL, this));
+ uninstall_dialog_.reset(ExtensionUninstallDialog::CreateAsStandaloneDialog(
+ Profile::FromBrowserContext(context_), this));
}
uninstall_extension_id_ = extension->id();

Powered by Google App Engine
This is Rietveld 408576698