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

Unified Diff: chrome/browser/chromeos/input_method/input_method_engine.cc

Issue 389913002: Moving IME manifests to chrome resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
Index: chrome/browser/chromeos/input_method/input_method_engine.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_engine.cc b/chrome/browser/chromeos/input_method/input_method_engine.cc
index f8e6c87c2a7c62574540005b918cc4cc467b112f..3268edd0a947e4c6a261b06939db59051f81a301 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine.cc
+++ b/chrome/browser/chromeos/input_method/input_method_engine.cc
@@ -149,8 +149,7 @@ void InputMethodEngine::Initialize(
ComponentExtensionIMEManager* comp_ext_ime_manager =
manager->GetComponentExtensionIMEManager();
- if (comp_ext_ime_manager && comp_ext_ime_manager->IsInitialized() &&
- comp_ext_ime_manager->IsWhitelistedExtension(extension_id)) {
+ if (comp_ext_ime_manager->IsWhitelistedExtension(extension_id)) {
imm_id_ = comp_ext_ime_manager->GetId(extension_id, engine_id);
} else {
imm_id_ = extension_ime_util::GetInputMethodID(extension_id, engine_id);

Powered by Google App Engine
This is Rietveld 408576698