| Index: third_party/WebKit/Source/core/paint/PaintLayer.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| index 2a28fab1e5e6925ffe7f4d3a4fbeb02656f76888..83870cdfac996e5eb14afd65cc28c1114024d59d 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| @@ -326,7 +326,7 @@ public:
|
|
|
| PaintLayer* enclosingLayerForPaintInvalidationCrossingFrameBoundaries() const;
|
|
|
| - bool hasAncestorWithFilterOutsets() const;
|
| + bool hasAncestorWithFilterThatMovesPixels() const;
|
|
|
| bool canUseConvertToLayerCoords() const
|
| {
|
| @@ -469,8 +469,16 @@ public:
|
| bool paintsWithFilters() const;
|
| bool paintsWithBackdropFilters() const;
|
| FilterEffect* lastFilterEffect() const;
|
| - bool hasFilterOutsets() const;
|
| - FilterOutsets filterOutsets() const;
|
| +
|
| + // Maps "forward" to determine which pixels in a destination rect are
|
| + // affected by pixels in the source rect.
|
| + // See also FilterEffect::mapRect.
|
| + FloatRect mapRectForFilter(const FloatRect&) const;
|
| +
|
| + // Calls the above, rounding outwards.
|
| + LayoutRect mapLayoutRectForFilter(const LayoutRect&) const;
|
| +
|
| + bool hasFilterThatMovesPixels() const;
|
|
|
| PaintLayerFilterInfo* filterInfo() const { return m_rareData ? m_rareData->filterInfo.get() : nullptr; }
|
| PaintLayerFilterInfo& ensureFilterInfo();
|
|
|