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 312b5a58fd9b3646b4dc97c50ccaaadc3fda6ae5..780b53a8f70b855263150a171f736c580816926e 100644 |
--- a/cc/resources/bitmap_content_layer_updater.cc |
+++ b/cc/resources/bitmap_content_layer_updater.cc |
@@ -22,9 +22,9 @@ BitmapContentLayerUpdater::Resource::Resource( |
BitmapContentLayerUpdater::Resource::~Resource() {} |
void BitmapContentLayerUpdater::Resource::Update(ResourceUpdateQueue* queue, |
- const gfx::Rect& source_rect, |
- gfx::Vector2d dest_offset, |
- bool partial_update) { |
+ const gfx::Rect& source_rect, |
+ const gfx::Vector2d& dest_offset, |
+ bool partial_update) { |
r.kasibhatla
2014/01/24 05:32:16
The alignment is wrong. Correct it.
|
updater_->UpdateTexture( |
queue, texture(), source_rect, dest_offset, partial_update); |
} |
@@ -88,7 +88,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, |