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

Unified Diff: printing/printed_document.cc

Issue 6611032: Unifying NativeMetafile class interface (as much as possible) for Linux, Mac, Win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed include ordering, some comments and style Created 9 years, 10 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
Index: printing/printed_document.cc
diff --git a/printing/printed_document.cc b/printing/printed_document.cc
index 3d8f156bafcc1aa76dea54d5520bcbff927012dd..e6c21c7218c36e8532eed79cb969f77d7bcba2b5 100644
--- a/printing/printed_document.cc
+++ b/printing/printed_document.cc
@@ -258,8 +258,8 @@ void PrintedDocument::DebugDump(const PrintedPage& page) {
filename += ASCIIToUTF16(StringPrintf("%02d", page.page_number()));
filename += ASCIIToUTF16("_.emf");
#if defined(OS_WIN)
- page.native_metafile()->SaveTo(
- g_debug_dump_info.Get().debug_dump_path.Append(filename).value());
+ page.native_metafile()->SaveTo(FilePath(
+ g_debug_dump_info.Get().debug_dump_path.Append(filename).value()));
Lei Zhang 2011/03/04 12:02:36 I haven't looked closely, but I suspect g_debug_du
dpapad 2011/03/04 19:19:43 Done.
#else // OS_WIN
NOTIMPLEMENTED(); // TODO: convert SaveTo to accept a FilePath
#endif // OS_WIN

Powered by Google App Engine
This is Rietveld 408576698