diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-20 08:59:52 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-20 08:59:52 +0000 |
commit | 9d434e21296a0e506552e3a660101efa3403a2fe (patch) | |
tree | 803c1135d85c4f2cfd461f8cff4b59ba155c3da1 /win8 | |
parent | b52692395da5bc509a76cb88aa6cb456eda3a82e (diff) | |
download | chromium_src-9d434e21296a0e506552e3a660101efa3403a2fe.zip chromium_src-9d434e21296a0e506552e3a660101efa3403a2fe.tar.gz chromium_src-9d434e21296a0e506552e3a660101efa3403a2fe.tar.bz2 |
Removes MessageLoop::Type checks in favor of IsCurrent on MessageLoops.
This is part of removing the MessageLoop::Type enum.
BUG=none
TEST=none
R=darin@chromium.org
Review URL: https://codereview.chromium.org/141683005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8')
-rw-r--r-- | win8/metro_driver/ime/ime_popup_monitor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win8/metro_driver/ime/ime_popup_monitor.cc b/win8/metro_driver/ime/ime_popup_monitor.cc index a6368ae..a478607 100644 --- a/win8/metro_driver/ime/ime_popup_monitor.cc +++ b/win8/metro_driver/ime/ime_popup_monitor.cc @@ -25,7 +25,7 @@ void CALLBACK ImeEventCallback(HWINEVENTHOOK win_event_hook_handle, DWORD event_time) { // This function is registered to SetWinEventHook to be called back on the UI // thread. - DCHECK(base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_UI)); + DCHECK(base::MessageLoopForUI::IsCurrent()); if (!g_observer_) return; |