summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/json_value_serializer_perftest.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/common/json_value_serializer_perftest.cc b/chrome/common/json_value_serializer_perftest.cc
index c54ad67..0032260 100644
--- a/chrome/common/json_value_serializer_perftest.cc
+++ b/chrome/common/json_value_serializer_perftest.cc
@@ -18,17 +18,17 @@ namespace {
class JSONValueSerializerTests : public testing::Test {
protected:
virtual void SetUp() {
- static const wchar_t* const kTestFilenames[] = {
- L"serializer_nested_test.js",
- L"serializer_test.js",
- L"serializer_test_nowhitespace.js",
+ static const char* const kTestFilenames[] = {
+ "serializer_nested_test.js",
+ "serializer_test.js",
+ "serializer_test_nowhitespace.js",
};
// Load test cases
for (size_t i = 0; i < arraysize(kTestFilenames); ++i) {
- std::wstring filename;
+ FilePath filename;
EXPECT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &filename));
- file_util::AppendToPath(&filename, kTestFilenames[i]);
+ filename = filename.AppendASCII(kTestFilenames[i]);
std::string test_case;
EXPECT_TRUE(file_util::ReadFileToString(filename, &test_case));