| Index: chrome/browser/prefs/command_line_pref_store.cc
|
| diff --git a/chrome/browser/prefs/command_line_pref_store.cc b/chrome/browser/prefs/command_line_pref_store.cc
|
| index 021be741cd0ee7747f9ff360971e68ae06790857..ebe0ef3b1dbea486de5f7cb8848f75ed0ccfe6d2 100644
|
| --- a/chrome/browser/prefs/command_line_pref_store.cc
|
| +++ b/chrome/browser/prefs/command_line_pref_store.cc
|
| @@ -58,7 +58,7 @@ void CommandLinePrefStore::ApplySimpleSwitches() {
|
| // Look for each switch we know about and set its preference accordingly.
|
| for (size_t i = 0; i < arraysize(string_switch_map_); ++i) {
|
| if (command_line_->HasSwitch(string_switch_map_[i].switch_name)) {
|
| - Value* value = Value::CreateStringValue(command_line_->
|
| + Value* value = base::StringValue::New(command_line_->
|
| GetSwitchValueASCII(string_switch_map_[i].switch_name));
|
| SetValue(string_switch_map_[i].preference_path, value);
|
| }
|
| @@ -66,7 +66,7 @@ void CommandLinePrefStore::ApplySimpleSwitches() {
|
|
|
| for (size_t i = 0; i < arraysize(boolean_switch_map_); ++i) {
|
| if (command_line_->HasSwitch(boolean_switch_map_[i].switch_name)) {
|
| - Value* value = Value::CreateBooleanValue(
|
| + Value* value = base::BooleanValue::New(
|
| boolean_switch_map_[i].set_value);
|
| SetValue(boolean_switch_map_[i].preference_path, value);
|
| }
|
| @@ -118,7 +118,7 @@ void CommandLinePrefStore::ApplySSLSwitches() {
|
| base::ListValue* list_value = new base::ListValue();
|
| for (std::vector<std::string>::const_iterator it = cipher_strings.begin();
|
| it != cipher_strings.end(); ++it) {
|
| - list_value->Append(base::Value::CreateStringValue(*it));
|
| + list_value->Append(base::StringValue::New(*it));
|
| }
|
| SetValue(prefs::kCipherSuiteBlacklist, list_value);
|
| }
|
|
|