| Index: Source/platform/graphics/ImageBuffer.h
|
| diff --git a/Source/platform/graphics/ImageBuffer.h b/Source/platform/graphics/ImageBuffer.h
|
| index a604d34e081c6de287960835df7272b053a0e79f..3001d73b190ce3b19f5301aed342ea0c888b8d40 100644
|
| --- a/Source/platform/graphics/ImageBuffer.h
|
| +++ b/Source/platform/graphics/ImageBuffer.h
|
| @@ -37,6 +37,7 @@
|
| #include "platform/graphics/GraphicsTypes3D.h"
|
| #include "platform/graphics/ImageBufferSurface.h"
|
| #include "platform/transforms/AffineTransform.h"
|
| +#include "third_party/skia/include/core/SkPaint.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
| @@ -83,6 +84,7 @@ public:
|
| bool isSurfaceValid() const;
|
| bool restoreSurface() const;
|
|
|
| + void setFilterLevel(SkPaint::FilterLevel filterLevel) { m_surface->setFilterLevel(filterLevel); }
|
| void setIsHidden(bool hidden) { m_surface->setIsHidden(hidden); }
|
|
|
| GraphicsContext* context() const;
|
| @@ -95,6 +97,8 @@ public:
|
|
|
| const SkBitmap& bitmap() const;
|
|
|
| + void willAccessPixels() { m_surface->willAccessPixels(); }
|
| +
|
| PassRefPtr<Image> copyImage(BackingStoreCopy = CopyBackingStore, ScaleBehavior = Scaled) const;
|
| // Give hints on the faster copyImage Mode, return DontCopyBackingStore if it supports the DontCopyBackingStore behavior
|
| // or return CopyBackingStore if it doesn't.
|
|
|