| Index: third_party/WebKit/Source/platform/graphics/ImageBuffer.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
|
| index 83039ac13da5a9b95355d4054804581757fb40c7..79404aac34bb9621d843ce6c3086a0e988798e19 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
|
| @@ -37,6 +37,7 @@
|
| #include "platform/graphics/ImageBufferSurface.h"
|
| #include "platform/transforms/AffineTransform.h"
|
| #include "third_party/skia/include/core/SkPaint.h"
|
| +#include "third_party/skia/include/core/SkPicture.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
| @@ -136,6 +137,8 @@ public:
|
| PassRefPtr<SkImage> newSkImageSnapshot(AccelerationHint, SnapshotReason) const;
|
| PassRefPtr<Image> newImageSnapshot(AccelerationHint = PreferNoAcceleration, SnapshotReason = SnapshotReasonUnknown) const;
|
|
|
| + PassRefPtr<SkPicture> getPicture() { return m_surface->getPicture(); }
|
| +
|
| void draw(GraphicsContext&, const FloatRect&, const FloatRect*, SkXfermode::Mode);
|
|
|
| void updateGPUMemoryUsage() const;
|
|
|