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

Unified Diff: chrome/test/ui/ui_layout_test.cc

Issue 6246036: FilePath: Remove most of ToWStringHack, adding a LossyDisplayName() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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
Index: chrome/test/ui/ui_layout_test.cc
diff --git a/chrome/test/ui/ui_layout_test.cc b/chrome/test/ui/ui_layout_test.cc
index ca55578bd758f3c21612adc8f326f5bcdcda9519..3159de4c86b381bffe6d76792411ac04f85728bc 100644
--- a/chrome/test/ui/ui_layout_test.cc
+++ b/chrome/test/ui/ui_layout_test.cc
@@ -209,7 +209,7 @@ void UILayoutTest::RunLayoutTest(const std::string& test_case_file_name,
if (port != kNoHttpPort)
new_test_url.reset(new GURL(
StringPrintf("http://localhost:%d/", port) +
- WideToUTF8(test_case_dir_.ToWStringHack()) +
+ UTF16ToUTF8(test_case_dir_.LossyDisplayName()) +
"/" +
test_case_file_name));
else

Powered by Google App Engine
This is Rietveld 408576698