Index: components/search_engines/default_search_policy_handler.cc |
diff --git a/components/search_engines/default_search_policy_handler.cc b/components/search_engines/default_search_policy_handler.cc |
index 64a0ab7da7ce96953fc19037ed158a2ec48207f2..4041975aea502d50bfca61bc603800f71b8d23f3 100644 |
--- a/components/search_engines/default_search_policy_handler.cc |
+++ b/components/search_engines/default_search_policy_handler.cc |
@@ -170,8 +170,7 @@ void DefaultSearchEncodingsPolicyHandler::ApplyPolicySettings( |
} |
} |
std::string encodings = JoinString(string_parts, ';'); |
- prefs->SetValue(prefs::kDefaultSearchProviderEncodings, |
- base::Value::CreateStringValue(encodings)); |
+ prefs->SetString(prefs::kDefaultSearchProviderEncodings, encodings); |
} |