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

Unified Diff: chrome/browser/ui/search/instant_unload_handler.cc

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/search/instant_unload_handler.cc
diff --git a/chrome/browser/ui/search/instant_unload_handler.cc b/chrome/browser/ui/search/instant_unload_handler.cc
index 4c9ff7174d9d84ba02cf6656e6b73b47736c1b12..8f82a08c77f5e86ce4f9669ae0ee2ade90ff9707 100644
--- a/chrome/browser/ui/search/instant_unload_handler.cc
+++ b/chrome/browser/ui/search/instant_unload_handler.cc
@@ -72,7 +72,7 @@ void InstantUnloadHandler::RunUnloadListenersOrDestroy(
// get here from BrowserInstantController::TabDeactivated, other tab
// observers may still expect to interact with the tab before the event has
// finished propagating.
- MessageLoop::current()->DeleteSoon(FROM_HERE, contents.release());
+ base::MessageLoop::current()->DeleteSoon(FROM_HERE, contents.release());
return;
}
@@ -102,5 +102,5 @@ void InstantUnloadHandler::Destroy(WebContentsDelegateImpl* delegate) {
// The delegate's method is a caller on the stack, so schedule the deletion
// for later.
delegates_.weak_erase(i);
- MessageLoop::current()->DeleteSoon(FROM_HERE, delegate);
+ base::MessageLoop::current()->DeleteSoon(FROM_HERE, delegate);
}

Powered by Google App Engine
This is Rietveld 408576698