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

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

Issue 192017: Convert std::wstring encoding names to std::string in a bunch of files. (Closed)
Patch Set: mac and linux fixes Created 11 years, 3 months 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
« no previous file with comments | « webkit/glue/webview_impl.cc ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 be19c9533c590104dec5ffe7ab9c54a0796d7197..fbfda9f6a134dc4e64fbb9ab0a8cef516692465a 100644
--- a/webkit/tools/test_shell/layout_test_controller.cc
+++ b/webkit/tools/test_shell/layout_test_controller.cc
@@ -894,7 +894,7 @@ void LayoutTestController::overridePreference(
else if (key == "WebKitMinimumLogicalFontSize")
preferences->minimum_logical_font_size = CppVariantToInt32(value);
else if (key == "WebKitDefaultTextEncodingName")
- preferences->default_encoding = CppVariantToWstring(value);
+ preferences->default_encoding = value.ToString();
else if (key == "WebKitJavaScriptEnabled")
preferences->javascript_enabled = CppVariantToBool(value);
else if (key == "WebKitWebSecurityEnabled")
« no previous file with comments | « webkit/glue/webview_impl.cc ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698