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

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

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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_disabled_ui.cc
diff --git a/chrome/browser/extensions/extension_disabled_ui.cc b/chrome/browser/extensions/extension_disabled_ui.cc
index 8767dd33cbd19f488175c8dec990a89b9d93a820..98d653fcad9922bc1c65a210ab09d16c9d42fa66 100644
--- a/chrome/browser/extensions/extension_disabled_ui.cc
+++ b/chrome/browser/extensions/extension_disabled_ui.cc
@@ -262,9 +262,11 @@ void ExtensionDisabledGlobalError::BubbleViewCancelButtonPressed(
ExtensionUninstallDialog::Create(service_->profile(), browser, this));
// Delay showing the uninstall dialog, so that this function returns
// immediately, to close the bubble properly. See crbug.com/121544.
- MessageLoop::current()->PostTask(FROM_HERE,
+ base::MessageLoop::current()->PostTask(
+ FROM_HERE,
base::Bind(&ExtensionUninstallDialog::ConfirmUninstall,
- uninstall_dialog_->AsWeakPtr(), extension_));
+ uninstall_dialog_->AsWeakPtr(),
brettw 2013/04/28 04:26:27 Old way was probably better
+ extension_));
#endif // !defined(OS_ANDROID)
}

Powered by Google App Engine
This is Rietveld 408576698