summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation
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 /chrome/browser/geolocation
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 'chrome/browser/geolocation')
-rw-r--r--chrome/browser/geolocation/network_location_request.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/geolocation/network_location_request.cc b/chrome/browser/geolocation/network_location_request.cc
index d6a4f33..e6423b0 100644
--- a/chrome/browser/geolocation/network_location_request.cc
+++ b/chrome/browser/geolocation/network_location_request.cc
@@ -244,7 +244,7 @@ void AddString(const std::wstring& property_name,
DictionaryValue* object) {
DCHECK(object);
if (!value.empty()) {
- object->SetStringFromUTF16(property_name, value);
+ object->SetString(property_name, value);
}
}