Index: cc/layers/video_layer_impl.h |
diff --git a/cc/layers/video_layer_impl.h b/cc/layers/video_layer_impl.h |
index 5b3d9550e27df49c2209ed634bbe07eb3b89da3e..5570fb8d82adf6c0d38fefcd21d277c933550d69 100644 |
--- a/cc/layers/video_layer_impl.h |
+++ b/cc/layers/video_layer_impl.h |
@@ -62,7 +62,13 @@ class CC_EXPORT VideoLayerImpl : public LayerImpl { |
scoped_ptr<VideoResourceUpdater> updater_; |
VideoFrameExternalResources::ResourceType frame_resource_type_; |
- std::vector<ResourceId> frame_resources_; |
+ struct FrameResource { |
+ FrameResource(ResourceId id, gfx::Size size, bool allow_overlay); |
danakj
2015/05/29 20:04:14
you could inline this constructor, the type is sim
achaulk
2015/06/01 15:43:10
Done.
|
+ ResourceId id; |
+ gfx::Size size; |
danakj
2015/05/29 20:04:14
size_in_pixels?
achaulk
2015/06/01 15:43:10
Done.
|
+ bool allow_overlay; |
+ }; |
+ std::vector<FrameResource> frame_resources_; |
// TODO(danakj): Remove these, hide software path inside ResourceProvider and |
// ExternalResource (aka TextureMailbox) classes. |