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

Unified Diff: sync/internal_api/write_node.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
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | sync/util/time.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/write_node.cc
diff --git a/sync/internal_api/write_node.cc b/sync/internal_api/write_node.cc
index 55f56b78d3fb8ec61d5d2620a138bfa27142ea79..3e6137485d6c3ec6d4f0f86526b5e2ea61da69ae 100644
--- a/sync/internal_api/write_node.cc
+++ b/sync/internal_api/write_node.cc
@@ -57,7 +57,7 @@ void WriteNode::SetTitle(const std::wstring& title) {
if (type != BOOKMARKS && needs_encryption) {
new_legal_title = kEncryptedString;
} else {
- SyncAPINameToServerName(WideToUTF8(title), &new_legal_title);
+ SyncAPINameToServerName(base::WideToUTF8(title), &new_legal_title);
base::TruncateUTF8ToByteSize(new_legal_title, 255, &new_legal_title);
}
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | sync/util/time.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698