| 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 6c62e6b1cb6c8b347cfb2d5959a019ceed59b8fb..9e9a455db7faffc1b06f6197e6428f779b957e34 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -1363,6 +1363,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;
|
| @@ -1568,10 +1572,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;
|
|
|