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

Unified Diff: printing/printed_document_cairo.cc

Issue 6673035: Move Start/EndPage() from NewPage/PageDone() to inside the metafile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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_cairo.cc
diff --git a/printing/printed_document_cairo.cc b/printing/printed_document_cairo.cc
index cb9bbd0c1ae74c0004478f9df1d99bf8bcf7a9df..4851dddc0730cc0884f60ea8567b1c723786060a 100644
--- a/printing/printed_document_cairo.cc
+++ b/printing/printed_document_cairo.cc
@@ -11,7 +11,7 @@
namespace printing {
-void PrintedDocument::RenderPrintedPage(
+bool PrintedDocument::RenderPrintedPage(
const PrintedPage& page, PrintingContext* context) const {
#ifndef NDEBUG
{
@@ -32,6 +32,7 @@ void PrintedDocument::RenderPrintedPage(
}
}
#endif // !defined(OS_CHROMEOS)
+ return true;
}
void PrintedDocument::DrawHeaderFooter(gfx::NativeDrawingContext context,

Powered by Google App Engine
This is Rietveld 408576698