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

Unified Diff: cc/SkPictureCanvasLayerTextureUpdater.h

Issue 10915065: Add PlatformPictureSkia and RecordingPlatformDeviceSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix SkProxyCanvas leak Created 8 years, 3 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/SkPictureCanvasLayerTextureUpdater.cpp » ('j') | skia/ext/platform_canvas.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/SkPictureCanvasLayerTextureUpdater.h
diff --git a/cc/SkPictureCanvasLayerTextureUpdater.h b/cc/SkPictureCanvasLayerTextureUpdater.h
index fd9bb5fccd170383de814df2c0b61b11d2777a55..6536de6de77a5961557841e40222823f41ea5626 100644
--- a/cc/SkPictureCanvasLayerTextureUpdater.h
+++ b/cc/SkPictureCanvasLayerTextureUpdater.h
@@ -9,10 +9,13 @@
#if USE(ACCELERATED_COMPOSITING)
#include "CanvasLayerTextureUpdater.h"
-#include "SkPicture.h"
class SkCanvas;
+namespace skia {
+class PlatformPictureSkia;
+}
+
namespace cc {
class LayerPainterChromium;
@@ -38,7 +41,7 @@ protected:
private:
// Recording canvas.
- SkPicture m_picture;
+ OwnPtr<skia::PlatformPictureSkia> m_picture;
// True when it is known that all output pixels will be opaque.
bool m_layerIsOpaque;
};
« no previous file with comments | « no previous file | cc/SkPictureCanvasLayerTextureUpdater.cpp » ('j') | skia/ext/platform_canvas.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698