| Index: Source/platform/graphics/Canvas2DLayerBridge.h
|
| diff --git a/Source/platform/graphics/Canvas2DLayerBridge.h b/Source/platform/graphics/Canvas2DLayerBridge.h
|
| index 3b93e43218888a143ab399bf878e258fa15f5bc3..31732573003ad7db6daf7f50999280379640fdb6 100644
|
| --- a/Source/platform/graphics/Canvas2DLayerBridge.h
|
| +++ b/Source/platform/graphics/Canvas2DLayerBridge.h
|
| @@ -26,8 +26,6 @@
|
| #ifndef Canvas2DLayerBridge_h
|
| #define Canvas2DLayerBridge_h
|
|
|
| -#include "SkDeferredCanvas.h"
|
| -#include "SkImage.h"
|
| #include "platform/PlatformExport.h"
|
| #include "platform/geometry/IntSize.h"
|
| #include "platform/graphics/ImageBufferSurface.h"
|
| @@ -35,6 +33,8 @@
|
| #include "public/platform/WebExternalTextureLayerClient.h"
|
| #include "public/platform/WebExternalTextureMailbox.h"
|
| #include "third_party/khronos/GLES2/gl2.h"
|
| +#include "third_party/skia/include/core/SkImage.h"
|
| +#include "third_party/skia/include/utils/SkDeferredCanvas.h"
|
| #include "wtf/DoublyLinkedList.h"
|
| #include "wtf/PassOwnPtr.h"
|
| #include "wtf/RefCounted.h"
|
| @@ -91,6 +91,8 @@ public:
|
|
|
| void beginDestruction();
|
|
|
| + PassRefPtr<SkImage> newImageSnapshot();
|
| +
|
| protected:
|
| Canvas2DLayerBridge(PassOwnPtr<WebGraphicsContext3DProvider>, PassOwnPtr<SkDeferredCanvas>, PassRefPtr<SkSurface>, int, OpacityMode);
|
| void setRateLimitingEnabled(bool);
|
|
|