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, |