Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
| index 2977f234e14c2838756887bfce545060711430b2..436ba5c5d6d3992b06a93d73679e5c4fd9db60ff 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
| @@ -181,7 +181,7 @@ public: |
| void setNeedsDisplay(); |
| // Mark the given rect (in layer coords) as needing display. Never goes deep. |
| - void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason); |
| + void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason, const DisplayItemClient&); |
| void setContentsNeedsDisplay(); |
| @@ -210,8 +210,7 @@ public: |
| bool isTrackingPaintInvalidations() const { return m_client->isTrackingPaintInvalidations(); } |
| void resetTrackedPaintInvalidations(); |
| bool hasTrackedPaintInvalidations() const; |
| - void trackPaintInvalidationRect(const FloatRect&); |
| - void trackPaintInvalidationObject(const String&); |
| + void trackPaintInvalidation(const DisplayItemClient&, const FloatRect&, PaintInvalidationReason = PaintInvalidationFull); |
|
pdr.
2016/04/12 03:09:24
Nit: can you remove the default value here? I thin
Xianzhu
2016/04/12 04:09:59
Done.
|
| void addLinkHighlight(LinkHighlight*); |
| void removeLinkHighlight(LinkHighlight*); |