Index: chrome/browser/ui/webui/options/handler_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/handler_options_handler.cc b/chrome/browser/ui/webui/options/handler_options_handler.cc |
index e202ba1de55949e811bc402003aee2010e38e755..6eb4d754e13a1ef0b29c1094e1f59fae0e64ffec 100644 |
--- a/chrome/browser/ui/webui/options/handler_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/handler_options_handler.cc |
@@ -90,9 +90,9 @@ static void GetHandlersAsListValue( |
ProtocolHandlerRegistry::ProtocolHandlerList::const_iterator handler; |
for (handler = handlers.begin(); handler != handlers.end(); ++handler) { |
base::ListValue* handlerValue = new base::ListValue(); |
- handlerValue->Append(new base::StringValue(handler->protocol())); |
- handlerValue->Append(new base::StringValue(handler->url().spec())); |
- handlerValue->Append(new base::StringValue(handler->url().host())); |
+ handlerValue->AppendString(handler->protocol()); |
+ handlerValue->AppendString(handler->url().spec()); |
+ handlerValue->AppendString(handler->url().host()); |
handler_list->Append(handlerValue); |
} |
} |