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

Unified Diff: chrome/browser/ui/cocoa/first_run_dialog.mm

Issue 14307023: chrome: Use base::MessageLoop. (Part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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/cocoa/first_run_dialog.mm
diff --git a/chrome/browser/ui/cocoa/first_run_dialog.mm b/chrome/browser/ui/cocoa/first_run_dialog.mm
index 8e8514e67be290514b15bc8ef9aeed8008d7e8c5..658495ecc29a7d2e6d62088bd81f47444e638025 100644
--- a/chrome/browser/ui/cocoa/first_run_dialog.mm
+++ b/chrome/browser/ui/cocoa/first_run_dialog.mm
@@ -72,7 +72,7 @@ FirstRunShowBridge::FirstRunShowBridge(
void FirstRunShowBridge::ShowDialog() {
[controller_ show];
- MessageLoop::current()->QuitNow();
+ base::MessageLoop::current()->QuitNow();
}
FirstRunShowBridge::~FirstRunShowBridge() {}
@@ -181,9 +181,9 @@ bool ShowFirstRunDialog(Profile* profile) {
// Therefore the main MessageLoop is run so things work.
scoped_refptr<FirstRunShowBridge> bridge(new FirstRunShowBridge(self));
- MessageLoop::current()->PostTask(FROM_HERE,
+ base::MessageLoop::current()->PostTask(FROM_HERE,
base::Bind(&FirstRunShowBridge::ShowDialog, bridge.get()));
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
}
- (void)show {
« no previous file with comments | « chrome/browser/ui/cocoa/external_protocol_dialog.mm ('k') | chrome/browser/ui/cocoa/importer/import_lock_dialog_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698