| Index: ui/base/ime/win/tsf_input_scope.cc
|
| diff --git a/ui/base/ime/win/tsf_input_scope.cc b/ui/base/ime/win/tsf_input_scope.cc
|
| index 06481e9d8f0c0dd2d5da62ab6958bb3bdd805505..ccfda53a857d2d53800e1c55cfa43196e0da77cd 100644
|
| --- a/ui/base/ime/win/tsf_input_scope.cc
|
| +++ b/ui/base/ime/win/tsf_input_scope.cc
|
| @@ -116,7 +116,7 @@ SetInputScopesFunc g_set_input_scopes = NULL;
|
| bool g_get_proc_done = false;
|
|
|
| SetInputScopesFunc GetSetInputScopes() {
|
| - DCHECK_EQ(base::MessageLoop::TYPE_UI, base::MessageLoop::current()->type());
|
| + DCHECK(base::MessageLoopForUI::IsCurrent());
|
| // Thread safety is not required because this function is under UI thread.
|
| if (!g_get_proc_done) {
|
| g_get_proc_done = true;
|
|
|