Index: cc/resources/bitmap_skpicture_content_layer_updater.h |
diff --git a/cc/resources/bitmap_skpicture_content_layer_updater.h b/cc/resources/bitmap_skpicture_content_layer_updater.h |
index e03f56d853da51eb55ce2b208efccbe08c2a638c..6bdebcf6f0c00d96f4c6cfa32d872b52484aa926 100644 |
--- a/cc/resources/bitmap_skpicture_content_layer_updater.h |
+++ b/cc/resources/bitmap_skpicture_content_layer_updater.h |
@@ -21,7 +21,7 @@ class BitmapSkPictureContentLayerUpdater : public SkPictureContentLayerUpdater { |
scoped_ptr<PrioritizedResource> texture); |
virtual void Update(ResourceUpdateQueue* queue, |
- gfx::Rect source_rect, |
+ const gfx::Rect& source_rect, |
gfx::Vector2d dest_offset, |
bool partial_update) OVERRIDE; |
@@ -40,7 +40,7 @@ class BitmapSkPictureContentLayerUpdater : public SkPictureContentLayerUpdater { |
virtual scoped_ptr<LayerUpdater::Resource> CreateResource( |
PrioritizedResourceManager* manager) OVERRIDE; |
void PaintContentsRect(SkCanvas* canvas, |
- gfx::Rect source_rect); |
+ const gfx::Rect& source_rect); |
private: |
BitmapSkPictureContentLayerUpdater( |