| Index: cc/resources/image_layer_updater.cc
|
| diff --git a/cc/resources/image_layer_updater.cc b/cc/resources/image_layer_updater.cc
|
| index e6900b7a2988e5333bcbd1cc2ba8408a368e1a33..d5d62ed5e97bcebe66a4a2620143c3782724bcf7 100644
|
| --- a/cc/resources/image_layer_updater.cc
|
| +++ b/cc/resources/image_layer_updater.cc
|
| @@ -16,7 +16,7 @@ ImageLayerUpdater::Resource::~Resource() {}
|
|
|
| void ImageLayerUpdater::Resource::Update(ResourceUpdateQueue* queue,
|
| const gfx::Rect& source_rect,
|
| - gfx::Vector2d dest_offset,
|
| + const gfx::Vector2d& dest_offset,
|
| bool partial_update) {
|
| updater_->UpdateTexture(
|
| queue, texture(), source_rect, dest_offset, partial_update);
|
| @@ -36,7 +36,7 @@ scoped_ptr<LayerUpdater::Resource> ImageLayerUpdater::CreateResource(
|
| void ImageLayerUpdater::UpdateTexture(ResourceUpdateQueue* queue,
|
| PrioritizedResource* texture,
|
| const gfx::Rect& source_rect,
|
| - gfx::Vector2d dest_offset,
|
| + const gfx::Vector2d& dest_offset,
|
| bool partial_update) {
|
| // Source rect should never go outside the image pixels, even if this
|
| // is requested because the texture extends outside the image.
|
|
|