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

Unified Diff: third_party/WebKit/Source/core/paint/FramePainter.cpp

Issue 2713673005: client-goodbye
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: 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,
« no previous file with comments | « third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698