| Index: Source/platform/graphics/Canvas2DLayerBridge.h
|
| diff --git a/Source/platform/graphics/Canvas2DLayerBridge.h b/Source/platform/graphics/Canvas2DLayerBridge.h
|
| index ccd02205344f90245125fe32b18356ccc01bdd41..7bedf50a2de342e136b03083fc7a9345eb2ef18b 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"
|
| @@ -94,6 +94,8 @@ public:
|
|
|
| void beginDestruction();
|
|
|
| + PassRefPtr<SkImage> newImageSnapshot();
|
| +
|
| protected:
|
| Canvas2DLayerBridge(PassOwnPtr<blink::WebGraphicsContext3DProvider>, PassOwnPtr<SkDeferredCanvas>, PassRefPtr<SkSurface>, int, OpacityMode);
|
| void setRateLimitingEnabled(bool);
|
|
|