Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h |
| index 71553cb4d5296b8aea1c3a72715c4f2e21f10c7d..bd52b9b87c5c47274fe460b9292224212691c049 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h |
| +++ b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h |
| @@ -31,6 +31,7 @@ |
| #include "third_party/skia/include/core/SkBitmap.h" |
| #include "third_party/skia/include/core/SkSize.h" |
| #include "third_party/skia/include/core/SkTypes.h" |
| +#include "third_party/skia/include/core/SkYUVSizeInfo.h" |
| #include "wtf/Allocator.h" |
| #include "wtf/Noncopyable.h" |
| #include "wtf/PassOwnPtr.h" |
| @@ -80,7 +81,7 @@ public: |
| bool decodeAndScale(size_t index, const SkImageInfo&, void* pixels, size_t rowBytes); |
| // Decodes YUV components directly into the provided memory planes. |
| - bool decodeToYUV(size_t index, SkISize componentSizes[3], void* planes[3], size_t rowBytes[3]); |
| + bool decodeToYUV(size_t index, const SkISize componentSizes[3], void* planes[3], const size_t rowBytes[3]); |
|
Noel Gordon
2016/03/03 01:25:28
Not really to do with your CL, but would it make s
msarett
2016/03/04 19:49:08
I don't disagree with you...
But on the other han
|
| const SkISize& getFullSize() const { return m_fullSize; } |
| @@ -89,7 +90,7 @@ public: |
| bool hasAlpha(size_t index); |
| - bool getYUVComponentSizes(SkISize componentSizes[3]); |
| + bool getYUVComponentSizes(SkYUVSizeInfo*); |
| private: |
| ImageFrameGenerator(const SkISize& fullSize, PassRefPtr<SharedBuffer>, bool allDataReceived, bool isMultiFrame); |