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

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

Issue 2194273002: Fix border radius on composited children. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improve clip recording code Created 4 years, 1 month 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 51232a68fb5c5500cfa60ce59ebeee195da61c3d..59ab0241a0e051807035a1cd5687cc55def890f7 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
@@ -182,7 +182,7 @@ class CORE_EXPORT PaintLayerClipper {
LayoutRect localClipRect(const PaintLayer* ancestorLayer) const;
// Computes the same thing as backgroundRect in calculateRects(), but skips
- // apllying CSS clip and the visualOverflowRect() of |m_layer|.
+ // applying CSS clip and the visualOverflowRect() of |m_layer|.
ClipRect backgroundClipRect(const ClipRectsContext&) const;
// This method figures out our layerBounds in coordinates relative to
@@ -193,7 +193,8 @@ class CORE_EXPORT PaintLayerClipper {
LayoutRect& layerBounds,
ClipRect& backgroundRect,
ClipRect& foregroundRect,
- const LayoutPoint* offsetFromRoot = 0) const;
+ const LayoutPoint* offsetFromRoot = 0,
+ const bool addAncestorClips = false) const;
ClipRects& paintingClipRects(const PaintLayer* rootLayer,
ShouldRespectOverflowClipType,

Powered by Google App Engine
This is Rietveld 408576698