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..4b1f37f4e349757e73c2faf92a57ddf55728086b 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>, bool); |
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>, bool); |
RefPtr<SkImage> m_image; |
+ bool m_isOriginClean; |
}; |
} // namespace blink |