Index: cc/layer.h |
diff --git a/cc/layer.h b/cc/layer.h |
index a9d37a0554376deea244aef45d8fff72d29fb60d..3d63e74db8f1c2b238f88f431d44e777c60cc948 100644 |
--- a/cc/layer.h |
+++ b/cc/layer.h |
@@ -277,6 +277,11 @@ public: |
gfx::Rect layerRectToContentRect(const gfx::RectF& layerRect) const; |
+ // In impl-side painting, this returns true if this layer type is not |
+ // compatible with the main thread running freely, such as a double-buffered |
+ // canvas that doesn't want to be triple-buffered across all three trees. |
+ virtual bool blocksPendingCommit() const; |
+ |
protected: |
friend class LayerImpl; |
friend class TreeSynchronizer; |