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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerClipper.h

Issue 2781863005: Account for filter bounds for backgroundRect during PaintLayer painting (Closed)
Patch Set: none Created 3 years, 9 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/PaintLayerClipper.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
index ddfc612bcffbf64b41f554ab2e654c15239ce4ec..780fd332cec310dce08ac8c84707edbe2f4fcb72 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
@@ -233,9 +233,11 @@ class CORE_EXPORT PaintLayerClipper {
ClipRect& foregroundRect,
const LayoutPoint* offsetFromRoot = 0) const;
- void ALWAYS_INLINE
- applyOverflowClipToBackgroundRectWithGeometryMapper(const ClipRectsContext&,
- ClipRect&) const;
+ // Applies a clip to the bounds of the visual overflow
+ // of m_layer, in the space of the rootLayer of the context.
+ void ALWAYS_INLINE applyVisualOverflowClipToBackgroundRectWithGeometryMapper(
+ const ClipRectsContext&,
+ ClipRect&) const;
const PaintLayer& m_layer;
GeometryMapper* m_geometryMapper;

Powered by Google App Engine
This is Rietveld 408576698