| Index: cc/SkPictureCanvasLayerTextureUpdater.h
|
| diff --git a/cc/SkPictureCanvasLayerTextureUpdater.h b/cc/SkPictureCanvasLayerTextureUpdater.h
|
| index fd9bb5fccd170383de814df2c0b61b11d2777a55..b31705778630790944115cd917bdb0ce6914e4b2 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;
|
| @@ -32,13 +35,13 @@ protected:
|
| explicit SkPictureCanvasLayerTextureUpdater(PassOwnPtr<LayerPainterChromium>);
|
|
|
| virtual void prepareToUpdate(const IntRect& contentRect, const IntSize& tileSize, float contentsWidthScale, float contentsHeightScale, IntRect& resultingOpaqueRect, CCRenderingStats&) OVERRIDE;
|
| - void drawPicture(SkCanvas*);
|
| + void drawPictureInto(SkCanvas*);
|
|
|
| bool layerIsOpaque() const { return m_layerIsOpaque; }
|
|
|
| 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;
|
| };
|
|
|