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

Unified Diff: printing/printed_document.cc

Issue 6246036: FilePath: Remove most of ToWStringHack, adding a LossyDisplayName() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bug link Created 9 years, 11 months 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 | « chrome/tools/crash_service/main.cc ('k') | views/drag_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printed_document.cc
diff --git a/printing/printed_document.cc b/printing/printed_document.cc
index 0360b5b777cf14d7e17a86871b8cbc3f61e55b62..56a340f6d3d637e5e72480b2522469c71380ca52 100644
--- a/printing/printed_document.cc
+++ b/printing/printed_document.cc
@@ -251,9 +251,9 @@ void PrintedDocument::DebugDump(const PrintedPage& page) {
filename += ASCIIToUTF16("_.emf");
#if defined(OS_WIN)
page.native_metafile()->SaveTo(
- g_debug_dump_info.Get().debug_dump_path.Append(filename).ToWStringHack());
+ g_debug_dump_info.Get().debug_dump_path.Append(filename).value());
#else // OS_WIN
- NOTIMPLEMENTED();
+ NOTIMPLEMENTED(); // TODO: convert SaveTo to accept a FilePath
#endif // OS_WIN
}
« no previous file with comments | « chrome/tools/crash_service/main.cc ('k') | views/drag_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698