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

Unified Diff: cc/bitmap_canvas_layer_texture_updater.h

Issue 11144023: cc: Store tiles, painters, tiling data in scoped_ptr (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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
« no previous file with comments | « no previous file | cc/bitmap_canvas_layer_texture_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 97564d6ddbc826bcd7dfe9b5c5d5b0d246632901..8d7939aeb298f7fc237c1b682237cabe339ae04c 100644
--- a/cc/bitmap_canvas_layer_texture_updater.h
+++ b/cc/bitmap_canvas_layer_texture_updater.h
@@ -32,7 +32,7 @@ public:
BitmapCanvasLayerTextureUpdater* m_textureUpdater;
};
- static PassRefPtr<BitmapCanvasLayerTextureUpdater> create(PassOwnPtr<LayerPainterChromium>);
+ static PassRefPtr<BitmapCanvasLayerTextureUpdater> create(scoped_ptr<LayerPainterChromium>);
virtual ~BitmapCanvasLayerTextureUpdater();
virtual PassOwnPtr<LayerTextureUpdater::Texture> createTexture(CCPrioritizedTextureManager*) OVERRIDE;
@@ -43,12 +43,13 @@ public:
virtual void setOpaque(bool) OVERRIDE;
protected:
- explicit BitmapCanvasLayerTextureUpdater(PassOwnPtr<LayerPainterChromium>);
+ explicit BitmapCanvasLayerTextureUpdater(scoped_ptr<LayerPainterChromium>);
OwnPtr<SkCanvas> m_canvas;
IntSize m_canvasSize;
bool m_opaque;
};
-} // namespace cc
-#endif // BitmapCanvasLayerTextureUpdater_h
+} // namespace cc
+
+#endif // BitmapCanvasLayerTextureUpdater_h
« no previous file with comments | « no previous file | cc/bitmap_canvas_layer_texture_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698