Index: cc/layer_tree_host_impl.h |
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h |
index c05c30d2ed60cc44e2dd758038a48b73609383ac..3ddabe0fdfd8c4de3d765f11c6e96b162e7c7ebb 100644 |
--- a/cc/layer_tree_host_impl.h |
+++ b/cc/layer_tree_host_impl.h |
@@ -255,6 +255,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; |
@@ -341,6 +344,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; |