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

Unified Diff: content/shell/renderer/webkit_test_runner.cc

Issue 121033002: Update uses of UTF conversions in content/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « content/shell/geolocation/shell_access_token_store.cc ('k') | content/test/content_browser_test_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/webkit_test_runner.cc
diff --git a/content/shell/renderer/webkit_test_runner.cc b/content/shell/renderer/webkit_test_runner.cc
index 666cd53c35e5412b056db09a282f1c7c6b9d300d..5d939e133ae151a247bf500e5049a6eff325a8c4 100644
--- a/content/shell/renderer/webkit_test_runner.cc
+++ b/content/shell/renderer/webkit_test_runner.cc
@@ -309,10 +309,10 @@ WebURL WebKitTestRunner::rewriteLayoutTestsURL(const std::string& utf8_url) {
ShellRenderProcessObserver::GetInstance()->webkit_source_dir().Append(
FILE_PATH_LITERAL("LayoutTests/"));
#if defined(OS_WIN)
- std::string utf8_path = WideToUTF8(replace_path.value());
+ std::string utf8_path = base::WideToUTF8(replace_path.value());
#else
std::string utf8_path =
- WideToUTF8(base::SysNativeMBToWide(replace_path.value()));
+ base::WideToUTF8(base::SysNativeMBToWide(replace_path.value()));
#endif
std::string new_url =
std::string("file://") + utf8_path + utf8_url.substr(kPrefixLen);
« no previous file with comments | « content/shell/geolocation/shell_access_token_store.cc ('k') | content/test/content_browser_test_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698