Index: chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc |
diff --git a/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc b/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc |
index 81ac7659840e893f8be434ad216f956f673b9bce..5bc09057b5fb926ae839672b86c5949921bc0d08 100644 |
--- a/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc |
+++ b/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc |
@@ -70,16 +70,16 @@ class KeywordEditorControllerTest : public testing::Test, |
ASSERT_FALSE(url.empty()); |
TestingPrefService* service = profile_->GetTestingPrefService(); |
service->SetManagedPref(prefs::kDefaultSearchProviderEnabled, |
- Value::CreateBooleanValue(true)); |
+ new base::FundamentalValue(true)); |
service->SetManagedPref(prefs::kDefaultSearchProviderSearchURL, |
- Value::CreateStringValue(url)); |
+ new base::StringValue(url)); |
service->SetManagedPref(prefs::kDefaultSearchProviderName, |
- Value::CreateStringValue("managed")); |
+ new base::StringValue("managed")); |
// Clear the IDs that are not specified via policy. |
service->SetManagedPref(prefs::kDefaultSearchProviderID, |
- new StringValue(std::string())); |
+ new base::StringValue(std::string())); |
service->SetManagedPref(prefs::kDefaultSearchProviderPrepopulateID, |
- new StringValue(std::string())); |
+ new base::StringValue(std::string())); |
model_->Observe(chrome::NOTIFICATION_DEFAULT_SEARCH_POLICY_CHANGED, |
content::NotificationService::AllSources(), |
content::NotificationService::NoDetails()); |