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

Unified Diff: chrome/browser/chromeos/system_key_event_listener.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/chromeos/system_key_event_listener.cc
diff --git a/chrome/browser/chromeos/system_key_event_listener.cc b/chrome/browser/chromeos/system_key_event_listener.cc
index d1228fe4b2a1feda4c55cc8401435418b90309b4..7b93422764fe9ae4fa7e2980c6e6c2ca2a7e5c96 100644
--- a/chrome/browser/chromeos/system_key_event_listener.cc
+++ b/chrome/browser/chromeos/system_key_event_listener.cc
@@ -70,7 +70,7 @@ SystemKeyEventListener::SystemKeyEventListener()
LOG(WARNING) << "Could not install Xkb Indicator observer";
}
- MessageLoopForUI::current()->AddObserver(this);
+ base::MessageLoopForUI::current()->AddObserver(this);
}
SystemKeyEventListener::~SystemKeyEventListener() {
@@ -80,7 +80,7 @@ SystemKeyEventListener::~SystemKeyEventListener() {
void SystemKeyEventListener::Stop() {
if (stopped_)
return;
- MessageLoopForUI::current()->RemoveObserver(this);
+ base::MessageLoopForUI::current()->RemoveObserver(this);
stopped_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698