| Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp
|
| index e3d7eeeed7cd3faa27e2f03ffab28a500098659e..dc0adaab76c8320f683322d2a6addb6fd7c6968d 100644
|
| --- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp
|
| @@ -57,7 +57,7 @@ FakeImageSource::FakeImageSource(IntSize size, BitmapOpacity opacity)
|
| SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(m_size.width(), m_size.height()));
|
| surface->getCanvas()->clear(opacity == OpaqueBitmap ? SK_ColorWHITE : SK_ColorTRANSPARENT);
|
| RefPtr<SkImage> image = adoptRef(surface->newImageSnapshot());
|
| - m_image = StaticBitmapImage::create(image);
|
| + m_image = StaticBitmapImage::create(image, true);
|
| }
|
|
|
| PassRefPtr<Image> FakeImageSource::getSourceImageForCanvas(SourceImageStatus* status, AccelerationHint) const
|
|
|