Index: cc/layer_tree_host_impl.h |
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h |
index 81ce4c2addea244dae32a1b58bb9b63383ac2221..fd89d36d5d98c84986d9e16e1768d7cbb8061447 100644 |
--- a/cc/layer_tree_host_impl.h |
+++ b/cc/layer_tree_host_impl.h |
@@ -252,6 +252,9 @@ public: |
ResourceProvider* resourceProvider() const { return m_resourceProvider.get(); } |
Proxy* proxy() const { return m_proxy; } |
+ void setDebugState(const LayerTreeDebugState& debugState) { m_debugState = debugState; } |
+ const LayerTreeDebugState& debugState() const { return m_debugState; } |
+ |
class CC_EXPORT CullRenderPassesWithCachedTextures { |
public: |
bool shouldRemoveRenderPass(const RenderPassDrawQuad&, const FrameData&) const; |
@@ -337,6 +340,7 @@ private: |
int m_scrollingLayerIdFromPreviousTree; |
bool m_scrollDeltaIsInViewportSpace; |
LayerTreeSettings m_settings; |
+ LayerTreeDebugState m_debugState; |
gfx::Size m_layoutViewportSize; |
gfx::Size m_deviceViewportSize; |
float m_deviceScaleFactor; |