Chromium Code Reviews| Index: Source/platform/graphics/DecodingImageGenerator.cpp |
| diff --git a/Source/platform/graphics/DecodingImageGenerator.cpp b/Source/platform/graphics/DecodingImageGenerator.cpp |
| index a57fed1682950b3087d6263f003f20f6975edfeb..5178547d377dcab89ad78a9a37732fc3bf59d603 100644 |
| --- a/Source/platform/graphics/DecodingImageGenerator.cpp |
| +++ b/Source/platform/graphics/DecodingImageGenerator.cpp |
| @@ -91,7 +91,7 @@ bool DecodingImageGenerator::onGetYUV8Planes(SkISize sizes[3], void* planes[3], |
| TRACE_EVENT0("blink", "DecodingImageGenerator::onGetYUV8Planes"); |
| PlatformInstrumentation::willDecodeLazyPixelRef(m_generationId); |
| - bool decoded = m_frameGenerator->decodeToYUV(planes, rowBytes); |
| + bool decoded = m_frameGenerator->decodeToYUV(sizes, planes, rowBytes); |
|
sugoi1
2014/09/05 20:14:57
... and this will update the size to the actual im
|
| PlatformInstrumentation::didDecodeLazyPixelRef(); |
| return decoded; |
| } |