Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: webkit/tools/test_shell/layout_test_controller.cc

Issue 5729005: webkit: use string16 in webkit_glue.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/tools/test_shell/layout_test_controller.cc
diff --git a/webkit/tools/test_shell/layout_test_controller.cc b/webkit/tools/test_shell/layout_test_controller.cc
index d344dfa6e6405e407903d2179b1346653b392668..16d7bcdd05d3621a40cfc1350f4adb7c17a4fb4b 100644
--- a/webkit/tools/test_shell/layout_test_controller.cc
+++ b/webkit/tools/test_shell/layout_test_controller.cc
@@ -1334,12 +1334,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,

Powered by Google App Engine
This is Rietveld 408576698