| Index: third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
| index 3bebb361f49c1496e6fa794cf165950cf6d99f1d..96ce1f24a1d92d2131149224a65b107d95678729 100644
|
| --- a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
| @@ -9,6 +9,8 @@
|
| #include "core/html/ImageData.h"
|
| #include "platform/graphics/skia/SkiaUtils.h"
|
| #include "platform/image-decoders/ImageDecoder.h"
|
| +#include "skia/ext/cdl_canvas.h"
|
| +#include "skia/ext/cdl_paint.h"
|
| #include "third_party/skia/include/core/SkCanvas.h"
|
| #include "third_party/skia/include/core/SkSurface.h"
|
| #include "wtf/CheckedNumeric.h"
|
| @@ -440,7 +442,7 @@ ImageBitmap::ImageBitmap(HTMLVideoElement* video,
|
| buffer->canvas()->translate(0, buffer->size().height());
|
| buffer->canvas()->scale(1, -1);
|
| }
|
| - SkPaint paint;
|
| + CdlPaint paint;
|
| if (parsedOptions.shouldScaleInput) {
|
| float scaleRatioX = static_cast<float>(parsedOptions.resizeWidth) /
|
| parsedOptions.cropRect.width();
|
|
|