| Index: cc/resources/bitmap_content_layer_updater.h
|
| diff --git a/cc/resources/bitmap_content_layer_updater.h b/cc/resources/bitmap_content_layer_updater.h
|
| index f618655bbfcb3224f14e3e1d8b2c96d1cb89d10e..d4909fa6f404ba74aa89773f2f0e167ee3d994b1 100644
|
| --- a/cc/resources/bitmap_content_layer_updater.h
|
| +++ b/cc/resources/bitmap_content_layer_updater.h
|
| @@ -30,7 +30,7 @@ class CC_EXPORT BitmapContentLayerUpdater : public ContentLayerUpdater {
|
| virtual ~Resource();
|
|
|
| virtual void Update(ResourceUpdateQueue* queue,
|
| - gfx::Rect source_rect,
|
| + const gfx::Rect& source_rect,
|
| gfx::Vector2d dest_offset,
|
| bool partial_update) OVERRIDE;
|
|
|
| @@ -47,14 +47,14 @@ class CC_EXPORT BitmapContentLayerUpdater : public ContentLayerUpdater {
|
|
|
| virtual scoped_ptr<LayerUpdater::Resource> CreateResource(
|
| PrioritizedResourceManager* manager) OVERRIDE;
|
| - virtual void PrepareToUpdate(gfx::Rect content_rect,
|
| + virtual void PrepareToUpdate(const gfx::Rect& content_rect,
|
| gfx::Size tile_size,
|
| float contents_width_scale,
|
| float contents_height_scale,
|
| gfx::Rect* resulting_opaque_rect) OVERRIDE;
|
| void UpdateTexture(ResourceUpdateQueue* queue,
|
| PrioritizedResource* resource,
|
| - gfx::Rect source_rect,
|
| + const gfx::Rect& source_rect,
|
| gfx::Vector2d dest_offset,
|
| bool partial_update);
|
| virtual void SetOpaque(bool opaque) OVERRIDE;
|
|
|