diff options
author | alemate@chromium.org <alemate@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-04 18:22:56 +0000 |
---|---|---|
committer | alemate@chromium.org <alemate@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-04 18:22:56 +0000 |
commit | a2a4c3216b09b16a2023f6c059d6ef099e7111cd (patch) | |
tree | 5109e361bd2b33768167f02c72fcd07c3836f2b8 /chrome/browser/chromeos/input_method/mock_input_method_manager.cc | |
parent | 0d3e58b25ae4cffb7c4dbefa49efc06ff14103ce (diff) | |
download | chromium_src-a2a4c3216b09b16a2023f6c059d6ef099e7111cd.zip chromium_src-a2a4c3216b09b16a2023f6c059d6ef099e7111cd.tar.gz chromium_src-a2a4c3216b09b16a2023f6c059d6ef099e7111cd.tar.bz2 |
GetActiveUserProfile() should not be called before profile is initialized.
During extension initialization we should not rely on GetActiveUserProfile().
BUG=397971
TEST=manual
Review URL: https://codereview.chromium.org/428783008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287371 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/input_method/mock_input_method_manager.cc')
-rw-r--r-- | chrome/browser/chromeos/input_method/mock_input_method_manager.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc index a57df70..6d9a572 100644 --- a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc +++ b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc @@ -100,11 +100,13 @@ void MockInputMethodManager::ActivateInputMethodMenuItem( } void MockInputMethodManager::AddInputMethodExtension( + Profile* profile, const std::string& id, InputMethodEngineInterface* instance) { } -void MockInputMethodManager::RemoveInputMethodExtension(const std::string& id) { +void MockInputMethodManager::RemoveInputMethodExtension(Profile* profile, + const std::string& id) { } void MockInputMethodManager::GetInputMethodExtensions( |