Index: chrome/browser/extensions/api/input_ime/input_ime_api.cc |
diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api.cc b/chrome/browser/extensions/api/input_ime/input_ime_api.cc |
index cc23a651c7569f65baadb413b037ca3a32d112d5..2440108acb361d44c3207e353d010d5731434b40 100644 |
--- a/chrome/browser/extensions/api/input_ime/input_ime_api.cc |
+++ b/chrome/browser/extensions/api/input_ime/input_ime_api.cc |
@@ -15,6 +15,7 @@ |
#include "chrome/browser/extensions/extension_input_module_constants.h" |
#include "chrome/browser/extensions/extension_system.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "chrome/common/extensions/api/input_ime/input_components_handler.h" |
namespace keys = extension_input_module_constants; |
@@ -901,8 +902,6 @@ bool KeyEventHandled::RunImpl() { |
InputImeAPI::InputImeAPI(Profile* profile) |
: profile_(profile) { |
- (new InputComponentsHandler)->Register(); |
- |
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED, |
content::Source<Profile>(profile)); |
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED, |