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

Unified Diff: cc/SkPictureCanvasLayerTextureUpdater.h

Issue 10915065: Add PlatformPictureSkia and RecordingPlatformDeviceSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor style changes and move skia include to .cpp file. 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 2635ff7dc7d4532cc1389f35f06b53f10677e92c..e4e7c0f3c818c4934438b4c567cec147b161e8c3 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 WebCore {
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