Index: cc/layer_tree_host_impl.h |
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h |
index 0aa250d685d0bd7e0601474c653111a85bff5faf..df185f2e6b0a0cc7907ee1d6aa5459f0700a6963 100644 |
--- a/cc/layer_tree_host_impl.h |
+++ b/cc/layer_tree_host_impl.h |
@@ -244,6 +244,9 @@ public: |
ResourceProvider* resourceProvider() const { return m_resourceProvider.get(); } |
Proxy* proxy() const { return m_proxy; } |
+ void setSwitches(const LayerTreeSwitches& switches) { m_switches = switches; } |
+ const LayerTreeSwitches& switches() const { return m_switches; } |
+ |
class CC_EXPORT CullRenderPassesWithCachedTextures { |
public: |
bool shouldRemoveRenderPass(const RenderPassDrawQuad&, const FrameData&) const; |
@@ -329,6 +332,7 @@ private: |
int m_scrollingLayerIdFromPreviousTree; |
bool m_scrollDeltaIsInViewportSpace; |
LayerTreeSettings m_settings; |
+ LayerTreeSwitches m_switches; |
gfx::Size m_layoutViewportSize; |
gfx::Size m_deviceViewportSize; |
float m_deviceScaleFactor; |