Index: third_party/WebKit/Source/core/paint/FramePainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp |
index 20dc935cca7e839d66904f78c61840724ab75510..20d567fb9f4822f59dc7734a7e758aa52b3d96ea 100644 |
--- a/third_party/WebKit/Source/core/paint/FramePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp |
@@ -65,9 +65,14 @@ void FramePainter::paint(GraphicsContext& context, |
} |
TransformRecorder transformRecorder( |
- context, *frameView().layoutView(), |
+ context, |
AffineTransform::translation(frameView().x() - frameView().scrollX(), |
- frameView().y() - frameView().scrollY())); |
+ frameView().y() - frameView().scrollY()), |
+ frameView().layoutView()->visualRect(), |
+ frameView().layoutView()->debugName(), |
+ frameView() |
+ .layoutView() |
+ ->paintedOutputOfObjectHasNoEffectRegardlessOfSize()); |
if (RuntimeEnabledFeatures::rootLayerScrollingEnabled()) { |
paintContents(context, globalPaintFlags, documentDirtyRect); |
@@ -110,8 +115,12 @@ void FramePainter::paint(GraphicsContext& context, |
} |
TransformRecorder transformRecorder( |
- context, *frameView().layoutView(), |
- AffineTransform::translation(frameView().x(), frameView().y())); |
+ context, AffineTransform::translation(frameView().x(), frameView().y()), |
+ frameView().layoutView()->visualRect(), |
+ frameView().layoutView()->debugName(), |
+ frameView() |
+ .layoutView() |
+ ->paintedOutputOfObjectHasNoEffectRegardlessOfSize()); |
ClipRecorder recorder( |
context, *frameView().layoutView(), DisplayItem::kClipFrameScrollbars, |