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

Unified Diff: third_party/WebKit/Source/core/paint/PartPainter.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/PartPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PartPainter.cpp b/third_party/WebKit/Source/core/paint/PartPainter.cpp
index e7f27a1683c6268c0cded4998a1ded3d90b40511..1c02da215fa50193162a200cecdfc2fd1b4ec99d 100644
--- a/third_party/WebKit/Source/core/paint/PartPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PartPainter.cpp
@@ -130,9 +130,11 @@ void PartPainter::paintContents(const PaintInfo& paintInfo,
// neutralized.
IntSize widgetPaintOffset = paintLocation - widget->frameRect().location();
TransformRecorder transform(
- paintInfo.context, m_layoutPart,
+ paintInfo.context,
AffineTransform::translation(widgetPaintOffset.width(),
- widgetPaintOffset.height()));
+ widgetPaintOffset.height()),
+ m_layoutPart.visualRect(), m_layoutPart.debugName(),
+ m_layoutPart.paintedOutputOfObjectHasNoEffectRegardlessOfSize());
CullRect adjustedCullRect(paintInfo.cullRect(), -widgetPaintOffset);
widget->paint(paintInfo.context, adjustedCullRect);
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGClipPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698