summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell.cc
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 21:27:45 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 21:27:45 +0000
commit778cb2f49af834951ab17e95c9143c313e5bf1a2 (patch)
tree8d3c27c95cb8dcd0fd43576fe2a5d85793c11279 /webkit/tools/test_shell/test_shell.cc
parenta0dde12f2e4f92f1a59885c45cfecd10dbfdfdfd (diff)
downloadchromium_src-778cb2f49af834951ab17e95c9143c313e5bf1a2.zip
chromium_src-778cb2f49af834951ab17e95c9143c313e5bf1a2.tar.gz
chromium_src-778cb2f49af834951ab17e95c9143c313e5bf1a2.tar.bz2
Rollback "Remove use of wide characters in stats table identifiers."
This reverts commit r5847. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5850 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell.cc')
-rw-r--r--webkit/tools/test_shell/test_shell.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc
index 559145c..04b05b3 100644
--- a/webkit/tools/test_shell/test_shell.cc
+++ b/webkit/tools/test_shell/test_shell.cc
@@ -138,10 +138,10 @@ TestShell::~TestShell() {
if (table != NULL) {
int counter_max = table->GetMaxCounters();
for (int index=0; index < counter_max; index++) {
- std::string name(table->GetRowName(index));
+ std::wstring name(table->GetRowName(index));
if (name.length() > 0) {
int value = table->GetRowValue(index);
- printf("%s:\t%d\n", name.c_str(), value);
+ printf("%s:\t%d\n", WideToUTF8(name).c_str(), value);
}
}
}