| Index: third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
|
| index 417b2c83380b653c727818f3283cce6931b85ed0..b71ce6361fccaed59d0dd7cce641adbb7f1e8c5a 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "platform/graphics/ImageDecodingStore.h"
|
| #include "platform/graphics/ImageFrameGenerator.h"
|
| #include "platform/graphics/test/MockImageDecoder.h"
|
| +#include "platform/image-decoders/SharedBufferSegmentReader.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebThread.h"
|
| #include "public/platform/WebTraceLocation.h"
|
| @@ -41,6 +42,7 @@
|
| #include "third_party/skia/include/core/SkPictureRecorder.h"
|
| #include "third_party/skia/include/core/SkPixmap.h"
|
| #include "third_party/skia/include/core/SkSurface.h"
|
| +#include "third_party/skia/src/core/SkRWBuffer.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefPtr.h"
|
|
|
| @@ -339,7 +341,7 @@ TEST_F(DeferredImageDecoderTest, smallerFrameCount)
|
|
|
| TEST_F(DeferredImageDecoderTest, frameOpacity)
|
| {
|
| - OwnPtr<ImageDecoder> actualDecoder = ImageDecoder::create(*m_data,
|
| + OwnPtr<ImageDecoder> actualDecoder = ImageDecoder::create(*m_data.get(),
|
| ImageDecoder::AlphaPremultiplied, ImageDecoder::GammaAndColorProfileApplied);
|
| OwnPtr<DeferredImageDecoder> decoder = DeferredImageDecoder::createForTesting(actualDecoder.release());
|
| decoder->setData(*m_data, true);
|
|
|