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

Unified Diff: remoting/host/clipboard_win.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 | « remoting/base/breakpad_win_unittest.cc ('k') | remoting/host/desktop_session_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/clipboard_win.cc
diff --git a/remoting/host/clipboard_win.cc b/remoting/host/clipboard_win.cc
index 03d6044b433868a7277da8d53598b6503ea73d7a..dfb627013aa483d075802901a10c0a2084133622 100644
--- a/remoting/host/clipboard_win.cc
+++ b/remoting/host/clipboard_win.cc
@@ -195,7 +195,7 @@ void ClipboardWin::InjectClipboardEvent(
return;
}
- base::string16 text = UTF8ToUTF16(ReplaceLfByCrLf(event.data()));
+ base::string16 text = base::UTF8ToUTF16(ReplaceLfByCrLf(event.data()));
ScopedClipboard clipboard;
if (!clipboard.Init(window_->hwnd())) {
@@ -252,7 +252,7 @@ void ClipboardWin::OnClipboardUpdate() {
protocol::ClipboardEvent event;
event.set_mime_type(kMimeTypeTextUtf8);
- event.set_data(ReplaceCrLfByLf(UTF16ToUTF8(text)));
+ event.set_data(ReplaceCrLfByLf(base::UTF16ToUTF8(text)));
if (client_clipboard_.get()) {
client_clipboard_->InjectClipboardEvent(event);
« no previous file with comments | « remoting/base/breakpad_win_unittest.cc ('k') | remoting/host/desktop_session_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698