Chromium Code Reviews| 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) |
| } |