| Index: third_party/WebKit/Source/core/layout/LayoutObject.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| index cee1ba1015b774b9e124b17b44d3abed51e701a9..5063dfb4ea7186433b2840f24415e69ea8f63d35 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -1366,6 +1366,10 @@ public:
|
| invalidateDisplayItemClient(client, reason);
|
| }
|
|
|
| + // This calls paintingLayer() which walks up the tree.
|
| + // If possible, use the faster paintInvalidationState.paintingLayer().setNeedsRepaint().
|
| + void slowSetPaintingLayerNeedsRepaint() const;
|
| +
|
| // Sets painting layer needsRepaint, then calls invaldiateDisplayItemClient().
|
| // Should use this version when PaintInvalidationState is available.
|
| void setPaintingLayerNeedsRepaintAndInvalidateDisplayItemClient(const PaintInvalidationState&, const DisplayItemClient&, PaintInvalidationReason) const;
|
| @@ -1573,10 +1577,6 @@ protected:
|
| // The caller should ensure the painting layer has been setNeedsRepaint before calling this function.
|
| virtual void invalidateDisplayItemClients(PaintInvalidationReason) const;
|
|
|
| - // This calls paintingLayer() which walks up the tree.
|
| - // If possible, use the faster paintInvalidationState.paintingLayer().setNeedsRepaint().
|
| - void slowSetPaintingLayerNeedsRepaint() const;
|
| -
|
| // Sets painting layer needsRepaint, then calls invalidateDisplayItemClients().
|
| // Should use this version when PaintInvalidationState is available.
|
| void invalidateDisplayItemClientsWithPaintInvalidationState(const PaintInvalidationState&, PaintInvalidationReason) const;
|
|
|