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

Unified Diff: chrome/browser/geolocation/geolocation_browsertest.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/geolocation/geolocation_browsertest.cc
diff --git a/chrome/browser/geolocation/geolocation_browsertest.cc b/chrome/browser/geolocation/geolocation_browsertest.cc
index ffab3051cbc386789f7ff34a2bd54a11c96a28d4..e61c392d246343614918c170ce870511a80bf866 100644
--- a/chrome/browser/geolocation/geolocation_browsertest.cc
+++ b/chrome/browser/geolocation/geolocation_browsertest.cc
@@ -89,7 +89,7 @@ class IFrameLoader : public content::NotificationObserver {
javascript_completed_ = true;
}
if (javascript_completed_ && navigation_completed_)
- MessageLoopForUI::current()->Quit();
+ base::MessageLoopForUI::current()->Quit();
}
private:
@@ -178,9 +178,9 @@ class GeolocationNotificationObserver : public content::NotificationObserver {
// We're either waiting for just the inforbar, or for both a javascript
// prompt and response.
if (wait_for_infobar_ && infobar_)
- MessageLoopForUI::current()->Quit();
+ base::MessageLoopForUI::current()->Quit();
else if (navigation_completed_ && !javascript_response_.empty())
- MessageLoopForUI::current()->Quit();
+ base::MessageLoopForUI::current()->Quit();
}
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698