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

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

Issue 448923003: Clean up useless code in InputMethodManagerImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « chrome/browser/chromeos/input_method/input_method_manager_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/input_method_manager_impl.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl.cc b/chrome/browser/chromeos/input_method/input_method_manager_impl.cc
index 4501e0b49cba7666d3c8d0ea7a14819aa4f21309..12daaec12fc9b2b24b4e984480b5170c86fc2d5d 100644
--- a/chrome/browser/chromeos/input_method/input_method_manager_impl.cc
+++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.cc
@@ -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();
}
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_manager_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698