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

Unified Diff: ui/base/ime/win/tsf_event_router.cc

Issue 22534003: Implements InputMethodTSF::IsCandidatePopupOpen(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes unittests. Created 7 years, 4 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 | « ui/base/ime/input_method_tsf.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/win/tsf_event_router.cc
diff --git a/ui/base/ime/win/tsf_event_router.cc b/ui/base/ime/win/tsf_event_router.cc
index 0a41ca1b94c6d82f4d7c260767317b5515b58d94..51f66a267ac2826c8f1cb0b1b3ac71fb84140198 100644
--- a/ui/base/ime/win/tsf_event_router.cc
+++ b/ui/base/ime/win/tsf_event_router.cc
@@ -193,6 +193,7 @@ void TSFEventRouter::Delegate::SetManager(
base::win::ScopedComPtr<ITfDocumentMgr> document_manager;
if (FAILED(thread_manager->GetFocus(document_manager.Receive())) ||
+ !document_manager.get() ||
FAILED(document_manager->GetBase(context_.Receive())) ||
FAILED(context_source_.QueryFrom(context_)))
return;
« no previous file with comments | « ui/base/ime/input_method_tsf.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698