From 8e50b600ed1e65789109022709cf5c349748fb4c Mon Sep 17 00:00:00 2001 From: "nsylvain@chromium.org" Date: Tue, 3 Mar 2009 22:59:43 +0000 Subject: revert broken change 10833 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10837 0039d316-1c4b-4281-b951-d872f2087c98 --- base/json_writer_unittest.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'base/json_writer_unittest.cc') diff --git a/base/json_writer_unittest.cc b/base/json_writer_unittest.cc index 2c746fd..cddfd4c 100644 --- a/base/json_writer_unittest.cc +++ b/base/json_writer_unittest.cc @@ -4,7 +4,6 @@ #include "testing/gtest/include/gtest/gtest.h" #include "base/json_writer.h" -#include "base/string_util.h" #include "base/values.h" TEST(JSONWriterTest, Writing) { @@ -37,10 +36,10 @@ TEST(JSONWriterTest, Writing) { // list list nesting, etc. DictionaryValue root_dict; ListValue* list = new ListValue; - root_dict.Set(ASCIIToUTF16("list"), list); + root_dict.Set(L"list", list); DictionaryValue* inner_dict = new DictionaryValue; list->Append(inner_dict); - inner_dict->SetInteger(ASCIIToUTF16("inner int"), 10); + inner_dict->SetInteger(L"inner int", 10); ListValue* inner_list = new ListValue; list->Append(inner_list); list->Append(Value::CreateBooleanValue(true)); @@ -55,3 +54,5 @@ TEST(JSONWriterTest, Writing) { "}\r\n", output_js); } + + -- cgit v1.1