| Index: third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp
|
| diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp
|
| index 3f8b1894d780b0030bf109ad595049b96cfd51e0..32408380cf0b08defa6072fc916f392c173b0993 100644
|
| --- a/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp
|
| +++ b/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp
|
| @@ -37,6 +37,7 @@
|
| #include "platform/graphics/skia/SkiaUtils.h"
|
| #include "third_party/skia/include/core/SkShader.h"
|
| #include "wtf/PassRefPtr.h"
|
| +#include "skia/ext/cdl_paint.h"
|
|
|
| namespace blink {
|
|
|
| @@ -105,7 +106,7 @@ CanvasStyle* CanvasStyle::createFromPattern(CanvasPattern* pattern) {
|
| return new CanvasStyle(pattern);
|
| }
|
|
|
| -void CanvasStyle::applyToPaint(SkPaint& paint) const {
|
| +void CanvasStyle::applyToPaint(CdlPaint& paint) const {
|
| switch (m_type) {
|
| case ColorRGBA:
|
| paint.setShader(nullptr);
|
|
|