Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: cc/bitmap_canvas_layer_texture_updater.h

Issue 11143027: cc: Remove wtf includes from *LayerTextureUpdater headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/bitmap_canvas_layer_texture_updater.h
diff --git a/cc/bitmap_canvas_layer_texture_updater.h b/cc/bitmap_canvas_layer_texture_updater.h
index 8d7939aeb298f7fc237c1b682237cabe339ae04c..088bca2bf6a31e7b6a21fa35c2159c96ccd6657f 100644
--- a/cc/bitmap_canvas_layer_texture_updater.h
+++ b/cc/bitmap_canvas_layer_texture_updater.h
@@ -32,10 +32,9 @@ public:
BitmapCanvasLayerTextureUpdater* m_textureUpdater;
};
- static PassRefPtr<BitmapCanvasLayerTextureUpdater> create(scoped_ptr<LayerPainterChromium>);
- virtual ~BitmapCanvasLayerTextureUpdater();
+ static scoped_refptr<BitmapCanvasLayerTextureUpdater> create(scoped_ptr<LayerPainterChromium>);
- virtual PassOwnPtr<LayerTextureUpdater::Texture> createTexture(CCPrioritizedTextureManager*) OVERRIDE;
+ virtual scoped_ptr<LayerTextureUpdater::Texture> createTexture(CCPrioritizedTextureManager*) OVERRIDE;
virtual SampledTexelFormat sampledTexelFormat(GC3Denum textureFormat) OVERRIDE;
virtual void prepareToUpdate(const IntRect& contentRect, const IntSize& tileSize, float contentsWidthScale, float contentsHeightScale, IntRect& resultingOpaqueRect, CCRenderingStats&) OVERRIDE;
void updateTexture(CCTextureUpdateQueue&, CCPrioritizedTexture*, const IntRect& sourceRect, const IntSize& destOffset, bool partialUpdate);
@@ -44,8 +43,9 @@ public:
protected:
explicit BitmapCanvasLayerTextureUpdater(scoped_ptr<LayerPainterChromium>);
+ virtual ~BitmapCanvasLayerTextureUpdater();
- OwnPtr<SkCanvas> m_canvas;
+ scoped_ptr<SkCanvas> m_canvas;
IntSize m_canvasSize;
bool m_opaque;
};
« no previous file with comments | « no previous file | cc/bitmap_canvas_layer_texture_updater.cc » ('j') | cc/caching_bitmap_canvas_layer_texture_updater.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698