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_; |