Index: cc/resources/video_resource_updater.h |
diff --git a/cc/resources/video_resource_updater.h b/cc/resources/video_resource_updater.h |
index 2a27739cef796ab5a3d90f87bf9a1202bb895edc..11ad2d0beae1d62fcd6acd1086a421fef6122bb9 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, |
- gfx::Size resource_size, |
+ const 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; |
- gfx::Size resource_size; |
+ const gfx::Size& resource_size; |
Adam Rice
2014/01/28 09:41:31
This object gets stored inside a base::Callback. W
r.kasibhatla
2014/01/28 09:55:00
Aah. Missed one in review. Sorry about that.
prashant.n
2014/01/28 10:33:40
Oops. Sorry for the change. Will put new patch.
|
ResourceFormat resource_format; |
gpu::Mailbox mailbox; |
}; |