Index: third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h |
diff --git a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h |
index b2e84d95fa34be8503f1ca9387829ea6fda84406..9880103424fc68105d146694e2a2da3788dfdf23 100644 |
--- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h |
+++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h |
@@ -15,7 +15,7 @@ public: |
bool currentFrameIsComplete() override { return true; } |
- static PassRefPtr<StaticBitmapImage> create(PassRefPtr<SkImage>); |
+ static PassRefPtr<StaticBitmapImage> create(PassRefPtr<SkImage>, SingleSecurityOriginType); |
virtual void destroyDecodedData(bool destroyAll) { } |
virtual bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata); |
virtual IntSize size() const; |
@@ -23,10 +23,12 @@ public: |
PassRefPtr<SkImage> imageForCurrentFrame() override; |
+ bool currentFrameHasSingleSecurityOrigin() const override {return m_isOriginClean;} |
protected: |
- StaticBitmapImage(PassRefPtr<SkImage>); |
+ StaticBitmapImage(PassRefPtr<SkImage>, SingleSecurityOriginType); |
RefPtr<SkImage> m_image; |
+ bool m_isOriginClean; |
Justin Novosad
2016/01/08 19:08:43
As discussed live, I would like this to be renamed
|
}; |
} // namespace blink |