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

Unified Diff: components/printing/renderer/print_web_view_helper.cc

Issue 2686033005: Move metafile printing code from platform canvas to PaintCanvas (Closed)
Patch Set: Created 3 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: components/printing/renderer/print_web_view_helper.cc
diff --git a/components/printing/renderer/print_web_view_helper.cc b/components/printing/renderer/print_web_view_helper.cc
index 9d9a87c8cc077b7437928f4763871a082e0ce68d..cafcb0cd11ddf83d51f9dc789d65458e5fe4ffef 100644
--- a/components/printing/renderer/print_web_view_helper.cc
+++ b/components/printing/renderer/print_web_view_helper.cc
@@ -1894,7 +1894,7 @@ void PrintWebViewHelper::PrintPageInternal(
if (!canvas)
return;
- MetafileSkiaWrapper::SetMetafileOnCanvas(*canvas, metafile);
+ MetafileSkiaWrapper::SetMetafileOnCanvas(canvas, metafile);
#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
if (params.params.display_header_footer) {

Powered by Google App Engine
This is Rietveld 408576698