Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 5de0d9a8845c1945d9ce9d6ab06b63b022186872..0357252eae7e4b71b4e3ab56bf8f861b28e07eb0 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -596,6 +596,10 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
SyncedScrollOffset* synced_scroll_offset() { return scroll_offset_.get(); } |
+ // Get the correct invalidation region instead of conservative Rect |
+ // for layers that provide it. |
+ virtual Region GetInvalidationRegion(); |
+ |
protected: |
LayerImpl(LayerTreeImpl* layer_impl, |
int id, |