Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index a12b6b56899a2b4dd1f9601bd5f072f4039f24f5..5dc8ad080ae25b770d1935c97ef48a2a205254f2 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -228,6 +228,9 @@ class CC_EXPORT LayerTreeImpl { |
return painted_device_scale_factor_; |
} |
+ void set_content_source_id(uint32_t id) { content_source_id_ = id; } |
+ uint32_t content_source_id() { return content_source_id_; } |
+ |
void SetDeviceColorSpace(const gfx::ColorSpace& device_color_space); |
const gfx::ColorSpace& device_color_space() const { |
return device_color_space_; |
@@ -494,6 +497,8 @@ class CC_EXPORT LayerTreeImpl { |
float painted_device_scale_factor_; |
gfx::ColorSpace device_color_space_; |
+ uint32_t content_source_id_; |
+ |
scoped_refptr<SyncedElasticOverscroll> elastic_overscroll_; |
std::unique_ptr<OwnedLayerImplList> layers_; |