| Index: cc/resources/video_resource_updater.h
|
| diff --git a/cc/resources/video_resource_updater.h b/cc/resources/video_resource_updater.h
|
| index d0e9f9cc6ec9983f25ebdf0d8f5fadbc635b3c3b..e3476d44bb4f6ee025857e3782f83c4a94547e70 100644
|
| --- a/cc/resources/video_resource_updater.h
|
| +++ b/cc/resources/video_resource_updater.h
|
| @@ -13,6 +13,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "cc/base/cc_export.h"
|
| #include "cc/resources/release_callback.h"
|
| +#include "cc/resources/resource_format.h"
|
| #include "cc/resources/texture_mailbox.h"
|
| #include "ui/gfx/size.h"
|
|
|
| @@ -75,12 +76,12 @@ class CC_EXPORT VideoResourceUpdater
|
| struct PlaneResource {
|
| unsigned resource_id;
|
| gfx::Size resource_size;
|
| - unsigned resource_format;
|
| + ResourceFormat resource_format;
|
| gpu::Mailbox mailbox;
|
|
|
| PlaneResource(unsigned resource_id,
|
| gfx::Size resource_size,
|
| - unsigned resource_format,
|
| + ResourceFormat resource_format,
|
| gpu::Mailbox mailbox)
|
| : resource_id(resource_id),
|
| resource_size(resource_size),
|
| @@ -98,7 +99,7 @@ class CC_EXPORT VideoResourceUpdater
|
| struct RecycleResourceData {
|
| unsigned resource_id;
|
| gfx::Size resource_size;
|
| - unsigned resource_format;
|
| + ResourceFormat resource_format;
|
| gpu::Mailbox mailbox;
|
| };
|
| static void RecycleResource(base::WeakPtr<VideoResourceUpdater> updater,
|
|
|