Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 66acc46f24c692c618bd4e5500d1364f09d34e1e..0be92f66c84242b0f3197955b18a32220ea9e448 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -421,6 +421,9 @@ class CC_EXPORT LayerImpl { |
return is_drawn_render_surface_layer_list_member_; |
} |
+ void set_may_contain_video(bool yes) { may_contain_video_ = yes; } |
+ bool may_contain_video() const { return may_contain_video_; } |
+ |
void Set3dSortingContextId(int id); |
int sorting_context_id() { return sorting_context_id_; } |
@@ -518,6 +521,7 @@ class CC_EXPORT LayerImpl { |
// Tracks if drawing-related properties have changed since last redraw. |
bool layer_property_changed_ : 1; |
+ bool may_contain_video_ : 1; |
bool masks_to_bounds_ : 1; |
bool contents_opaque_ : 1; |