Index: Source/platform/graphics/ImageBuffer.h |
diff --git a/Source/platform/graphics/ImageBuffer.h b/Source/platform/graphics/ImageBuffer.h |
index 7ba76513b5dd838c9924559a2e0e2b7d26f32c6e..61d90562205ed0a3521383f7a000d976c2b26eff 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" |
@@ -89,6 +90,7 @@ public: |
bool restoreSurface() const; |
bool needsClipTracking() const { return m_surface->needsClipTracking(); } |
+ void setFilterLevel(SkPaint::FilterLevel filterLevel) { m_surface->setFilterLevel(filterLevel); } |
void setIsHidden(bool hidden) { m_surface->setIsHidden(hidden); } |
// Called by subclasses of ImageBufferSurface to install a new canvas object |
@@ -106,6 +108,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. |