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

Unified Diff: remoting/host/plugin/host_script_object.cc

Issue 121123002: Update uses of UTF conversions in ppapi/, printing/, remoting/, rlz/, sandbox/, skia/, sql/, sync/,… (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
Index: remoting/host/plugin/host_script_object.cc
diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc
index 288b2402bd100f2a4d04ff5c631246ce764e4a37..456ca50cd9f5761f209aa516427cd276518955a2 100644
--- a/remoting/host/plugin/host_script_object.cc
+++ b/remoting/host/plugin/host_script_object.cc
@@ -939,7 +939,7 @@ void HostNPScriptObject::LocalizeStrings(NPObject* localize_func) {
#if !defined(OS_WIN)
base::string16 ui_locale;
LocalizeString(localize_func, "@@ui_locale", &ui_locale);
- remoting::LoadResources(UTF16ToUTF8(ui_locale));
+ remoting::LoadResources(base::UTF16ToUTF8(ui_locale));
#endif // !defined(OS_WIN)
}
@@ -973,7 +973,7 @@ bool HostNPScriptObject::LocalizeStringWithSubstitution(
LOG(ERROR) << "Missing translation for " << tag;
return false;
}
- *result = UTF8ToUTF16(translation);
+ *result = base::UTF8ToUTF16(translation);
return true;
}
« no previous file with comments | « remoting/host/pairing_registry_delegate_win_unittest.cc ('k') | remoting/host/policy_hack/policy_watcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698