Index: cc/resources/bitmap_content_layer_updater.cc |
diff --git a/cc/resources/bitmap_content_layer_updater.cc b/cc/resources/bitmap_content_layer_updater.cc |
index 493b42e6a7ad23385ddc858b28305cae1759a0a1..6f2332bf84a2cbe581c05c5b1584dd5986522a45 100644 |
--- a/cc/resources/bitmap_content_layer_updater.cc |
+++ b/cc/resources/bitmap_content_layer_updater.cc |
@@ -21,10 +21,11 @@ BitmapContentLayerUpdater::Resource::Resource( |
BitmapContentLayerUpdater::Resource::~Resource() {} |
-void BitmapContentLayerUpdater::Resource::Update(ResourceUpdateQueue* queue, |
- const gfx::Rect& source_rect, |
- gfx::Vector2d dest_offset, |
- bool partial_update) { |
+void BitmapContentLayerUpdater::Resource::Update( |
+ ResourceUpdateQueue* queue, |
+ const gfx::Rect& source_rect, |
+ const gfx::Vector2d& dest_offset, |
+ bool partial_update) { |
updater_->UpdateTexture( |
queue, texture(), source_rect, dest_offset, partial_update); |
} |
@@ -88,7 +89,7 @@ void BitmapContentLayerUpdater::PrepareToUpdate( |
void BitmapContentLayerUpdater::UpdateTexture(ResourceUpdateQueue* queue, |
PrioritizedResource* texture, |
const gfx::Rect& source_rect, |
- gfx::Vector2d dest_offset, |
+ const gfx::Vector2d& dest_offset, |
bool partial_update) { |
CHECK(canvas_); |
ResourceUpdate upload = ResourceUpdate::Create(texture, |