summaryrefslogtreecommitdiffstats
path: root/base/json
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-15 18:37:10 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-15 18:37:10 +0000
commit16b527168c7fcdc36588379c3c30225493265689 (patch)
tree9b413147539b9d9cd929dc4200d34d312aff33d6 /base/json
parent0d93778842822187888671cffa788a3524687864 (diff)
downloadchromium_src-16b527168c7fcdc36588379c3c30225493265689.zip
chromium_src-16b527168c7fcdc36588379c3c30225493265689.tar.gz
chromium_src-16b527168c7fcdc36588379c3c30225493265689.tar.bz2
Remove (deprecated) wstring version of Value::CreateStringValue().
BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3136012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56170 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/json')
-rw-r--r--base/json/json_reader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/json/json_reader.cc b/base/json/json_reader.cc
index 0818f93..391f58b3 100644
--- a/base/json/json_reader.cc
+++ b/base/json/json_reader.cc
@@ -504,7 +504,7 @@ Value* JSONReader::DecodeString(const Token& token) {
decoded_str.push_back(c);
}
}
- return Value::CreateStringValue(decoded_str);
+ return Value::CreateStringValue(WideToUTF16Hack(decoded_str));
}
JSONReader::Token JSONReader::ParseToken() {