From a2a4c3216b09b16a2023f6c059d6ef099e7111cd Mon Sep 17 00:00:00 2001 From: "alemate@chromium.org" Date: Mon, 4 Aug 2014 18:22:56 +0000 Subject: 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 --- chrome/browser/chromeos/input_method/mock_input_method_manager.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome/browser/chromeos/input_method/mock_input_method_manager.cc') 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( -- cgit v1.1