diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 23:55:55 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 23:55:55 +0000 |
commit | 9c9f6bcf24fcc3485ed0d67280fe6239723d5b85 (patch) | |
tree | c66eb98ee99e88803a6499dcf4a18b8253ef0ec9 /cc/skpicture_content_layer_updater.h | |
parent | 8af4d5e43646529448d460cd6031613379b57861 (diff) | |
download | chromium_src-9c9f6bcf24fcc3485ed0d67280fe6239723d5b85.zip chromium_src-9c9f6bcf24fcc3485ed0d67280fe6239723d5b85.tar.gz chromium_src-9c9f6bcf24fcc3485ed0d67280fe6239723d5b85.tar.bz2 |
cc: Chromify LayerUpdater
R=danakj@chromium.org
BUG=none
Review URL: https://chromiumcodereview.appspot.com/12850006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/skpicture_content_layer_updater.h')
-rw-r--r-- | cc/skpicture_content_layer_updater.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cc/skpicture_content_layer_updater.h b/cc/skpicture_content_layer_updater.h index 840eba6..93a4b5f 100644 --- a/cc/skpicture_content_layer_updater.h +++ b/cc/skpicture_content_layer_updater.h @@ -27,7 +27,7 @@ public: Resource(SkPictureContentLayerUpdater*, scoped_ptr<PrioritizedResource>); virtual ~Resource(); - virtual void update(ResourceUpdateQueue&, const gfx::Rect& sourceRect, const gfx::Vector2d& destOffset, bool partialUpdate, RenderingStats*) OVERRIDE; + virtual void Update(ResourceUpdateQueue* queue, gfx::Rect sourceRect, gfx::Vector2d destOffset, bool partialUpdate, RenderingStats* stats) OVERRIDE; private: SkPictureContentLayerUpdater* updater() { return m_updater; } @@ -37,14 +37,14 @@ public: static scoped_refptr<SkPictureContentLayerUpdater> create(scoped_ptr<LayerPainter>); - virtual scoped_ptr<LayerUpdater::Resource> createResource(PrioritizedResourceManager*) OVERRIDE; - virtual void setOpaque(bool) OVERRIDE; + virtual scoped_ptr<LayerUpdater::Resource> CreateResource(PrioritizedResourceManager*) OVERRIDE; + virtual void SetOpaque(bool) OVERRIDE; protected: explicit SkPictureContentLayerUpdater(scoped_ptr<LayerPainter>); virtual ~SkPictureContentLayerUpdater(); - virtual void prepareToUpdate(const gfx::Rect& contentRect, const gfx::Size& tileSize, float contentsWidthScale, float contentsHeightScale, gfx::Rect& resultingOpaqueRect, RenderingStats*) OVERRIDE; + virtual void PrepareToUpdate(gfx::Rect contentRect, gfx::Size tileSize, float contentsWidthScale, float contentsHeightScale, gfx::Rect* resultingOpaqueRect, RenderingStats*) OVERRIDE; void drawPicture(SkCanvas*); void updateTexture(ResourceUpdateQueue& queue, PrioritizedResource* texture, const gfx::Rect& sourceRect, const gfx::Vector2d& destOffset, bool partialUpdate); |