From ff4c1d8cd62bad8351b44ee39145e5a6dc8fdf7f Mon Sep 17 00:00:00 2001 From: "viettrungluu@chromium.org" Date: Wed, 4 Aug 2010 16:58:12 +0000 Subject: Rename DictionaryValue's SetStringFromUTF16() to SetString() (and overload). Also do a bunch of drive-by changes while I'm at it. Still to do: rename GetStringAsUTF16() to GetString(). BUG=none TEST=builds everywhere, tests pass Review URL: http://codereview.chromium.org/3033050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54915 0039d316-1c4b-4281-b951-d872f2087c98 --- net/proxy/proxy_resolver_js_bindings.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net') diff --git a/net/proxy/proxy_resolver_js_bindings.cc b/net/proxy/proxy_resolver_js_bindings.cc index 95ccdb5..dc16925 100644 --- a/net/proxy/proxy_resolver_js_bindings.cc +++ b/net/proxy/proxy_resolver_js_bindings.cc @@ -32,7 +32,7 @@ class ErrorNetlogParams : public NetLog::EventParameters { virtual Value* ToValue() const { DictionaryValue* dict = new DictionaryValue(); dict->SetInteger("line_number", line_number_); - dict->SetStringFromUTF16("message", message_); + dict->SetString("message", message_); return dict; } @@ -51,7 +51,7 @@ class AlertNetlogParams : public NetLog::EventParameters { virtual Value* ToValue() const { DictionaryValue* dict = new DictionaryValue(); - dict->SetStringFromUTF16("message", message_); + dict->SetString("message", message_); return dict; } -- cgit v1.1