| Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
|
| index 30f7229d7651e304700e3264bfc9e4606960b07e..671a53333085fffd39e548696bd8f7c48168b0ef 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
|
| @@ -127,8 +127,8 @@ public:
|
| // If |visualRect| is not nullptr, it contains all pixels that might be painted by the display item client,
|
| // in coordinate space of the layer's layout object.
|
| // |visualRect| can be nullptr if we know it's unchanged and PaintController has cached the previous value.
|
| - void invalidateDisplayItemClient(const DisplayItemClientWrapper&, PaintInvalidationReason, const LayoutRect* visualRect);
|
| - void invalidateDisplayItemClientOnScrollingContentsLayer(const DisplayItemClientWrapper&, PaintInvalidationReason, const LayoutRect* visualRect);
|
| + void invalidateDisplayItemClient(const DisplayItemClient&, PaintInvalidationReason, const LayoutRect* visualRect);
|
| + void invalidateDisplayItemClientOnScrollingContentsLayer(const DisplayItemClient&, PaintInvalidationReason, const LayoutRect* visualRect);
|
|
|
| // Notification from the layoutObject that its content changed.
|
| void contentChanged(ContentChangeType);
|
| @@ -213,9 +213,6 @@ public:
|
|
|
| void updateScrollingBlockSelection();
|
|
|
| - DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); }
|
| - String debugName() const { return "CompositedLayerMapping for " + owningLayer().debugName(); }
|
| -
|
| private:
|
| IntRect recomputeInterestRect(const GraphicsLayer*) const;
|
| static bool interestRectChangedEnoughToRepaint(const IntRect& previousInterestRect, const IntRect& newInterestRect, const IntSize& layerSize);
|
| @@ -302,7 +299,7 @@ private:
|
|
|
| static bool hasVisibleNonCompositingDescendant(PaintLayer* parent);
|
|
|
| - void doPaintTask(const GraphicsLayerPaintInfo&, const PaintLayerFlags&, GraphicsContext*, const IntRect& clip) const;
|
| + void doPaintTask(const GraphicsLayerPaintInfo&, const GraphicsLayer&, const PaintLayerFlags&, GraphicsContext*, const IntRect& clip) const;
|
|
|
| // Computes the background clip rect for the given squashed layer, up to any containing layer that is squashed into the
|
| // same squashing layer and contains this squashed layer's clipping ancestor.
|
|
|