| 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..58c0e1282c0444f080bd7807285d547fe2ca11c5 100644
|
| --- a/cc/layers/video_layer_impl.h
|
| +++ b/cc/layers/video_layer_impl.h
|
| @@ -62,7 +62,16 @@ 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_in_pixels, bool allow_overlay)
|
| + : id(id),
|
| + size_in_pixels(size_in_pixels),
|
| + allow_overlay(allow_overlay) {}
|
| + ResourceId id;
|
| + gfx::Size size_in_pixels;
|
| + bool allow_overlay;
|
| + };
|
| + std::vector<FrameResource> frame_resources_;
|
|
|
| // TODO(danakj): Remove these, hide software path inside ResourceProvider and
|
| // ExternalResource (aka TextureMailbox) classes.
|
|
|