Index: chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc |
diff --git a/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc b/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc |
index 0955462f2620c2ed24c13d2c596d0d058e60cbf7..4196c63da0b88cb4dc0cc05130b9464be079c8ca 100644 |
--- a/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc |
+++ b/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc |
@@ -42,6 +42,7 @@ class InputMethodPersistenceTest : public testing::Test { |
CommandLine *cl = CommandLine::ForCurrentProcess(); |
cl->AppendSwitchASCII(switches::kLoginProfile, kProfileName); |
mock_profile_manager_.SetLoggedIn(true); |
+ ProfileManager::AllowGetDefaultProfile(); |
EXPECT_TRUE(ProfileManager::GetDefaultProfile() != NULL); |
mock_user_prefs_ = mock_profile->GetTestingPrefService(); |
} |