Index: chrome/common/custom_handlers/protocol_handler.cc |
diff --git a/chrome/common/custom_handlers/protocol_handler.cc b/chrome/common/custom_handlers/protocol_handler.cc |
index 92eb48be9af91d7149930928f07df6e51fd7c2e5..8cf8b526275885965a952bec7eb76bb83ab5f32c 100644 |
--- a/chrome/common/custom_handlers/protocol_handler.cc |
+++ b/chrome/common/custom_handlers/protocol_handler.cc |
@@ -59,9 +59,9 @@ GURL ProtocolHandler::TranslateUrl(const GURL& url) const { |
DictionaryValue* ProtocolHandler::Encode() const { |
DictionaryValue* d = new DictionaryValue(); |
- d->Set("protocol", Value::CreateStringValue(protocol_)); |
- d->Set("url", Value::CreateStringValue(url_.spec())); |
- d->Set("title", Value::CreateStringValue(title_)); |
+ d->Set("protocol", base::StringValue::New(protocol_)); |
+ d->Set("url", base::StringValue::New(url_.spec())); |
+ d->Set("title", base::StringValue::New(title_)); |
return d; |
} |