Index: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h |
diff --git a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h |
index 74ba6cabbe88bb061a142cb73f3539596b62f178..28f04711eb56286e1794ebc9b6720a4cd2924b4a 100644 |
--- a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h |
+++ b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h |
@@ -48,9 +48,14 @@ class PLATFORM_EXPORT DecodingImageGenerator final : public SkImageGenerator { |
USING_FAST_MALLOC(DecodingImageGenerator); |
WTF_MAKE_NONCOPYABLE(DecodingImageGenerator); |
public: |
+ // Make SkImageGenerator::kNeedNewImageUniqueID accessible. |
+ enum { |
+ kNeedNewImageUniqueID = SkImageGenerator::kNeedNewImageUniqueID |
+ }; |
+ |
static SkImageGenerator* create(SkData*); |
- DecodingImageGenerator(PassRefPtr<ImageFrameGenerator>, const SkImageInfo&, PassRefPtr<SegmentReader>, bool allDataReceived, size_t index); |
+ DecodingImageGenerator(PassRefPtr<ImageFrameGenerator>, const SkImageInfo&, PassRefPtr<SegmentReader>, bool allDataReceived, size_t index, uint32_t uniqueID = kNeedNewImageUniqueID); |
~DecodingImageGenerator() override; |
void setCanYUVDecode(bool yes) { m_canYUVDecode = yes; } |