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

Unified Diff: win8/metro_driver/ime/ime_popup_monitor.cc

Issue 141683005: Removes MessageLoop::Type checks in favor of IsCurrent on MessageLoops. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: base:: Created 6 years, 11 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
« no previous file with comments | « webkit/browser/appcache/appcache_update_job_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/ime/ime_popup_monitor.cc
diff --git a/win8/metro_driver/ime/ime_popup_monitor.cc b/win8/metro_driver/ime/ime_popup_monitor.cc
index a6368ae9e26a3bd82fb75fe92f8c1d589dae2507..a478607aad4e6d7e45dbb125ca465c0c59d46dd6 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;
« no previous file with comments | « webkit/browser/appcache/appcache_update_job_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698