Chromium Code Reviews| Index: Source/platform/graphics/DecodingImageGenerator.h |
| diff --git a/Source/platform/graphics/DecodingImageGenerator.h b/Source/platform/graphics/DecodingImageGenerator.h |
| index a7e228d9183a623aa7bc9175b814bdc164f029b7..3d1e1d7dc792a42be7691f8f0af96415fdd182ba 100644 |
| --- a/Source/platform/graphics/DecodingImageGenerator.h |
| +++ b/Source/platform/graphics/DecodingImageGenerator.h |
| @@ -49,6 +49,9 @@ public: |
| void setGenerationId(size_t id) { m_generationId = id; } |
| + static void setYUVDecodingEnabled(bool); |
|
Stephen White
2014/09/26 19:21:14
Since this doesn't really decode YUV at all, let's
|
| + static bool yuvDecodingEnabled(); |
| + |
| protected: |
| virtual SkData* onRefEncodedData() OVERRIDE; |
| virtual bool onGetInfo(SkImageInfo*) OVERRIDE; |
| @@ -60,6 +63,8 @@ private: |
| SkImageInfo m_imageInfo; |
| size_t m_frameIndex; |
| size_t m_generationId; |
| + |
| + static bool s_yuvDecodingEnabled; |
| }; |
| } // namespace blink |