summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/layout_test_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/layout_test_controller.cc')
-rw-r--r--webkit/tools/test_shell/layout_test_controller.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/layout_test_controller.cc b/webkit/tools/test_shell/layout_test_controller.cc
index 1918106..3ddfaab 100644
--- a/webkit/tools/test_shell/layout_test_controller.cc
+++ b/webkit/tools/test_shell/layout_test_controller.cc
@@ -1341,12 +1341,12 @@ void LayoutTestController::counterValueForElementById(
result->SetNull();
if (args.size() < 1 || !args[0].isString())
return;
- std::wstring counterValue;
+ string16 counterValue;
if (!webkit_glue::CounterValueForElementById(shell_->webView()->mainFrame(),
args[0].ToString(),
&counterValue))
return;
- result->Set(WideToUTF8(counterValue));
+ result->Set(UTF16ToUTF8(counterValue));
}
static bool ParsePageSizeParameters(const CppArgumentList& args,