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 63f3d9ac3de007132c732daad82ff17c545c328b..0990f48d562eacc767e1c18760505b9c681f8055 100644 |
--- a/chrome/common/custom_handlers/protocol_handler.cc |
+++ b/chrome/common/custom_handlers/protocol_handler.cc |
@@ -61,8 +61,8 @@ GURL ProtocolHandler::TranslateUrl(const GURL& url) const { |
std::unique_ptr<base::DictionaryValue> ProtocolHandler::Encode() const { |
auto d = base::MakeUnique<base::DictionaryValue>(); |
- d->Set("protocol", new base::StringValue(protocol_)); |
- d->Set("url", new base::StringValue(url_.spec())); |
+ d->Set("protocol", new base::Value(protocol_)); |
+ d->Set("url", new base::Value(url_.spec())); |
return d; |
} |