Index: cc/layer.h |
diff --git a/cc/layer.h b/cc/layer.h |
index f16fbe79cfc6f2a72a5bf35f4a5d1d2a521188a9..b4bf968991f5bb4e3b745b0186942e559b494f1c 100644 |
--- a/cc/layer.h |
+++ b/cc/layer.h |
@@ -261,6 +261,9 @@ public: |
virtual ScrollbarLayerChromium* toScrollbarLayerChromium(); |
+ void setDeferUpdates(bool); |
+ bool deferUpdates(); |
+ |
protected: |
friend class CCLayerImpl; |
friend class TreeSynchronizer; |
@@ -377,6 +380,9 @@ private: |
WebKit::WebAnimationDelegate* m_layerAnimationDelegate; |
WebKit::WebLayerScrollClient* m_layerScrollClient; |
+ |
+ // Whether or not we should defer updates to the CCLayerImpl subtree rooted at this node. |
+ bool m_deferUpdates; |
}; |
void sortLayers(std::vector<scoped_refptr<LayerChromium> >::iterator, std::vector<scoped_refptr<LayerChromium> >::iterator, void*); |