| Index: cc/skpicture_content_layer_updater.h
|
| diff --git a/cc/skpicture_content_layer_updater.h b/cc/skpicture_content_layer_updater.h
|
| index 72305cd9693420cb180aa3f84f0a973edc760dc1..6f02c635a98b998edd689ed9fffbfab79ae7b61a 100644
|
| --- a/cc/skpicture_content_layer_updater.h
|
| +++ b/cc/skpicture_content_layer_updater.h
|
| @@ -27,7 +27,7 @@ public:
|
| Resource(SkPictureContentLayerUpdater*, scoped_ptr<PrioritizedTexture>);
|
| virtual ~Resource();
|
|
|
| - virtual void update(ResourceUpdateQueue&, const IntRect& sourceRect, const IntSize& destOffset, bool partialUpdate, RenderingStats&) OVERRIDE;
|
| + virtual void update(ResourceUpdateQueue&, const gfx::Rect& sourceRect, const gfx::Vector2d& destOffset, bool partialUpdate, RenderingStats&) OVERRIDE;
|
|
|
| private:
|
| SkPictureContentLayerUpdater* updater() { return m_updater; }
|
| @@ -44,9 +44,9 @@ protected:
|
| explicit SkPictureContentLayerUpdater(scoped_ptr<LayerPainter>);
|
| virtual ~SkPictureContentLayerUpdater();
|
|
|
| - virtual void prepareToUpdate(const IntRect& contentRect, const IntSize& tileSize, float contentsWidthScale, float contentsHeightScale, IntRect& resultingOpaqueRect, RenderingStats&) OVERRIDE;
|
| + virtual void prepareToUpdate(const gfx::Rect& contentRect, const gfx::Size& tileSize, float contentsWidthScale, float contentsHeightScale, gfx::Rect& resultingOpaqueRect, RenderingStats&) OVERRIDE;
|
| void drawPicture(SkCanvas*);
|
| - void updateTexture(ResourceUpdateQueue& queue, PrioritizedTexture* texture, const IntRect& sourceRect, const IntSize& destOffset, bool partialUpdate);
|
| + void updateTexture(ResourceUpdateQueue& queue, PrioritizedTexture* texture, const gfx::Rect& sourceRect, const gfx::Vector2d& destOffset, bool partialUpdate);
|
|
|
| bool layerIsOpaque() const { return m_layerIsOpaque; }
|
|
|
|
|