| Index: Source/platform/graphics/Image.h
|
| diff --git a/Source/platform/graphics/Image.h b/Source/platform/graphics/Image.h
|
| index 78528f358ff144b848d3579a5c2d50c4edd289f1..691ac4f006520d99bb4cbfe74e1edfa469ef5e53 100644
|
| --- a/Source/platform/graphics/Image.h
|
| +++ b/Source/platform/graphics/Image.h
|
| @@ -41,6 +41,8 @@
|
| #include "wtf/RetainPtr.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| +class SkImage;
|
| +
|
| namespace blink {
|
|
|
| class FloatPoint;
|
| @@ -69,6 +71,8 @@ public:
|
| virtual bool isBitmapImage() const { return false; }
|
| virtual bool currentFrameKnownToBeOpaque() = 0;
|
|
|
| + virtual PassRefPtr<SkImage> image();
|
| +
|
| // Derived classes should override this if they can assure that the current
|
| // image frame contains only resources from its own security origin.
|
| virtual bool currentFrameHasSingleSecurityOrigin() const { return false; }
|
|
|