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 9a9ac40b4cbe9e356c656b1bc2edaf935b9225fb..64e08953cd90d2b09aaa2e1b7a71a1eee451c9fe 100644 |
--- a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h |
+++ b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h |
@@ -52,6 +52,7 @@ public: |
~DecodingImageGenerator() override; |
void setGenerationId(size_t id) { m_generationId = id; } |
+ void setCanYUVDecode(bool yes) { m_canYUVDecode = yes; } |
protected: |
SkData* onRefEncodedData() override; |
@@ -64,6 +65,7 @@ private: |
RefPtr<ImageFrameGenerator> m_frameGenerator; |
size_t m_frameIndex; |
size_t m_generationId; |
+ bool m_canYUVDecode; |
}; |
} // namespace blink |