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

Unified Diff: chromeos/dbus/ibus/ibus_engine_service.cc

Issue 12598004: Fix empty candidate window for IME Extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/ibus/ibus_engine_service.cc
diff --git a/chromeos/dbus/ibus/ibus_engine_service.cc b/chromeos/dbus/ibus/ibus_engine_service.cc
index 5277fcb302cd1ac9d3e204df4aa1f5a5fe2b0f12..a5e298dad96b8957e32ca3b6827dc6b80f2117c7 100644
--- a/chromeos/dbus/ibus/ibus_engine_service.cc
+++ b/chromeos/dbus/ibus/ibus_engine_service.cc
@@ -136,6 +136,8 @@ class IBusEngineServiceImpl : public IBusEngineService {
// IBusEngineService override.
virtual void SetEngine(IBusEngineHandlerInterface* handler) OVERRIDE {
DVLOG_IF(1, engine_handler_ != NULL) << "Replace engine.";
+ if (engine_handler_)
+ engine_handler_->Disable();
engine_handler_ = handler;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698