| Index: Source/platform/graphics/ImageBufferSurface.h
|
| diff --git a/Source/platform/graphics/ImageBufferSurface.h b/Source/platform/graphics/ImageBufferSurface.h
|
| index d67fb33cee519cd751d8c1048f76ed0484a90362..ad55079a06f7d68590c02ee0b5dfc888a42e2412 100644
|
| --- a/Source/platform/graphics/ImageBufferSurface.h
|
| +++ b/Source/platform/graphics/ImageBufferSurface.h
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "platform/PlatformExport.h"
|
| #include "platform/geometry/IntSize.h"
|
| +#include "platform/graphics/GraphicsTypes.h"
|
| #include "platform/graphics/GraphicsTypes3D.h"
|
| #include "wtf/FastAllocBase.h"
|
| #include "wtf/Noncopyable.h"
|
| @@ -48,6 +49,7 @@ namespace blink {
|
| class ImageBuffer;
|
| class WebLayer;
|
| class FloatRect;
|
| +class GraphicsContext;
|
|
|
| enum OpacityMode {
|
| NonOpaque,
|
| @@ -80,6 +82,7 @@ public:
|
| virtual void finalizeFrame(const FloatRect &dirtyRect) { }
|
| virtual void willDrawVideo() { }
|
| virtual PassRefPtr<SkImage> newImageSnapshot() const;
|
| + virtual void draw(GraphicsContext*, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator, WebBlendMode, bool needsCopy);
|
|
|
| OpacityMode opacityMode() const { return m_opacityMode; }
|
| const IntSize& size() const { return m_size; }
|
|
|