| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.cpp
|
| index ae34b3df608a0795eb6052efdf6869d4a2f83041..f6d097c6d3108dc22a7d6127e7625f402fc374f1 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.cpp
|
| @@ -27,6 +27,8 @@
|
| #include "core/style/ComputedStyle.h"
|
| #include "platform/graphics/skia/SkiaUtils.h"
|
| #include "third_party/skia/include/core/SkPaint.h"
|
| +#include "skia/ext/cdl_canvas.h"
|
| +#include "skia/ext/cdl_paint.h"
|
|
|
| namespace blink {
|
|
|
| @@ -40,7 +42,7 @@ SVGPaintServer::SVGPaintServer(PassRefPtr<Pattern> pattern,
|
| const AffineTransform& transform)
|
| : m_pattern(pattern), m_transform(transform), m_color(Color::black) {}
|
|
|
| -void SVGPaintServer::applyToSkPaint(SkPaint& paint, float paintAlpha) {
|
| +void SVGPaintServer::applyToSkPaint(CdlPaint& paint, float paintAlpha) {
|
| SkColor baseColor = m_gradient || m_pattern ? SK_ColorBLACK : m_color.rgb();
|
| paint.setColor(scaleAlpha(baseColor, paintAlpha));
|
| if (m_pattern) {
|
|
|