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

Unified Diff: printing/printing_context_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 | « printing/printing_context_mac.mm ('k') | printing/printing_utils_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context_win.cc
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc
index 9e97dd24d2b2256322215783232d2678ee607c34..1c1e3afa6687bb7fd2a5111b8ab97153ae0c7785 100644
--- a/printing/printing_context_win.cc
+++ b/printing/printing_context_win.cc
@@ -434,7 +434,7 @@ PrintingContext::Result PrintingContextWin::NewDocument(
DCHECK(SimplifyDocumentTitle(document_name) == document_name);
DOCINFO di = { sizeof(DOCINFO) };
- const std::wstring& document_name_wide = UTF16ToWide(document_name);
+ const std::wstring& document_name_wide = base::UTF16ToWide(document_name);
di.lpszDocName = document_name_wide.c_str();
// Is there a debug dump directory specified? If so, force to print to a file.
@@ -447,7 +447,7 @@ PrintingContext::Result PrintingContextWin::NewDocument(
filename += L"_";
filename += base::TimeFormatTimeOfDay(now);
filename += L"_";
- filename += UTF16ToWide(document_name);
+ filename += base::UTF16ToWide(document_name);
filename += L"_";
filename += L"buffer.prn";
file_util::ReplaceIllegalCharactersInPath(&filename, '_');
« no previous file with comments | « printing/printing_context_mac.mm ('k') | printing/printing_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698