Index: chrome/browser/custom_handlers/protocol_handler_registry.cc |
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc |
index 745e2afd901b34226ec3d28568bf7973937fe984..94fae27a792774013433607a4436021ea840f1ea 100644 |
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc |
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc |
@@ -248,7 +248,7 @@ void ProtocolHandlerRegistry::Save() { |
} |
scoped_ptr<Value> registered_protocol_handlers(EncodeRegisteredHandlers()); |
scoped_ptr<Value> ignored_protocol_handlers(EncodeIgnoredHandlers()); |
- scoped_ptr<Value> enabled(Value::CreateBooleanValue(enabled_)); |
+ scoped_ptr<Value> enabled(base::BooleanValue::New(enabled_)); |
profile_->GetPrefs()->Set(prefs::kRegisteredProtocolHandlers, |
*registered_protocol_handlers); |
profile_->GetPrefs()->Set(prefs::kIgnoredProtocolHandlers, |
@@ -381,7 +381,7 @@ Value* ProtocolHandlerRegistry::EncodeRegisteredHandlers() { |
j != i->second.end(); ++j) { |
DictionaryValue* encoded = j->Encode(); |
if (IsDefault(*j)) { |
- encoded->Set("default", Value::CreateBooleanValue(true)); |
+ encoded->Set("default", base::TrueValue()); |
} |
protocol_handlers->Append(encoded); |
} |