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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2872033002: Pass isPrinting and other bits from parent context to child during print. (Closed)
Patch Set: Merge branch 'master' into fixprinting Created 3 years, 7 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 | « third_party/WebKit/LayoutTests/paint/printing/print-box-shadow-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 32d805f9a5ef089148ec60050f926c431ad18fe0..b3e075f7756b6737b5545e1d2d093483e94f14c0 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -396,7 +396,8 @@ class ChromePrintContext : public PrintContext {
context.ConcatCTM(transform);
context.ClipRect(page_rect);
- PaintRecordBuilder builder(bounds, &context.Canvas()->getMetaData());
+ PaintRecordBuilder builder(bounds, &context.Canvas()->getMetaData(),
+ &context);
// The local scope is so that the cache skipper is destroyed before
// we call endRecording().
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/printing/print-box-shadow-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698