summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 16:58:12 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 16:58:12 +0000
commitff4c1d8cd62bad8351b44ee39145e5a6dc8fdf7f (patch)
tree8a8d04fe8c8ec3d1c1be30d13c92cb7d7b73561b /net
parent9792cc8882b31a267d1326a722aac80f053da0e0 (diff)
downloadchromium_src-ff4c1d8cd62bad8351b44ee39145e5a6dc8fdf7f.zip
chromium_src-ff4c1d8cd62bad8351b44ee39145e5a6dc8fdf7f.tar.gz
chromium_src-ff4c1d8cd62bad8351b44ee39145e5a6dc8fdf7f.tar.bz2
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
Diffstat (limited to 'net')
-rw-r--r--net/proxy/proxy_resolver_js_bindings.cc4
1 files changed, 2 insertions, 2 deletions
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;
}