Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h |
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h |
index f4f7f60dc49f015311582d313afd8f9a3fc753ae..e679e812d2a2ee19f82922b93c43d006dae4abec 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h |
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h |
@@ -152,7 +152,7 @@ public: |
void resetTrackedPaintInvalidationRects(); |
void setTracksPaintInvalidations(bool); |
- String debugName(const GraphicsLayer*) override; |
+ String debugName(const GraphicsLayer*) const override; |
DocumentLifecycle& lifecycle() const; |
bool needsUpdateDescendantDependentFlags() const { return m_needsUpdateDescendantDependentFlags; } |
@@ -177,7 +177,8 @@ private: |
#endif |
// GraphicsLayerClient implementation |
- void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect*) const override; |
+ IntRect computeInterestRect(const GraphicsLayer*, const IntRect&) const override; |
+ void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect& interestRect) const override; |
bool isTrackingPaintInvalidations() const override; |