summaryrefslogtreecommitdiffstats
path: root/cc/resources/video_resource_updater.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/video_resource_updater.h')
-rw-r--r--cc/resources/video_resource_updater.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/resources/video_resource_updater.h b/cc/resources/video_resource_updater.h
index 11ad2d0..2a27739 100644
--- a/cc/resources/video_resource_updater.h
+++ b/cc/resources/video_resource_updater.h
@@ -80,7 +80,7 @@ class CC_EXPORT VideoResourceUpdater
gpu::Mailbox mailbox;
PlaneResource(unsigned resource_id,
- const gfx::Size& resource_size,
+ gfx::Size resource_size,
ResourceFormat resource_format,
gpu::Mailbox mailbox)
: resource_id(resource_id),
@@ -98,7 +98,7 @@ class CC_EXPORT VideoResourceUpdater
struct RecycleResourceData {
unsigned resource_id;
- const gfx::Size& resource_size;
+ gfx::Size resource_size;
ResourceFormat resource_format;
gpu::Mailbox mailbox;
};