Commit 8c271870 authored by shuchen@chromium.org's avatar shuchen@chromium.org

Clean up useless code in InputMethodManagerImpl.

BUG=342336
TEST=None

Review URL: https://codereview.chromium.org/448923003

Cr-Commit-Position: refs/heads/master@{#288378}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288378 0039d316-1c4b-4281-b951-d872f2087c98
parent 6c05060c
......@@ -61,8 +61,7 @@ InputMethodManagerImpl::InputMethodManagerImpl(
: delegate_(delegate.Pass()),
state_(STATE_LOGIN_SCREEN),
util_(delegate_.get()),
component_extension_ime_manager_(new ComponentExtensionIMEManager()),
weak_ptr_factory_(this) {
component_extension_ime_manager_(new ComponentExtensionIMEManager()) {
if (base::SysInfo::IsRunningOnChromeOS())
keyboard_.reset(ImeKeyboard::Create());
else
......@@ -790,7 +789,6 @@ InputMethodUtil* InputMethodManagerImpl::GetInputMethodUtil() {
ComponentExtensionIMEManager*
InputMethodManagerImpl::GetComponentExtensionIMEManager() {
DCHECK(thread_checker_.CalledOnValidThread());
return component_extension_ime_manager_.get();
}
......
......@@ -203,10 +203,6 @@ class InputMethodManagerImpl : public InputMethodManager,
// auto-repeat interval.
scoped_ptr<ImeKeyboard> keyboard_;
base::ThreadChecker thread_checker_;
base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_;
// The engine map from extension_id to an engine.
std::map<std::string, InputMethodEngineInterface*> engine_map_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment