| 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 eae1e9ff81e0fd727791d5114744c647ba84a85e..aefdfb2c727255363820ef89d0407e1479c8220f 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.cpp
|
| @@ -25,6 +25,8 @@
|
| #include "core/layout/svg/SVGResources.h"
|
| #include "core/layout/svg/SVGResourcesCache.h"
|
| #include "core/style/ComputedStyle.h"
|
| +#include "platform/graphics/paint/PaintCanvas.h"
|
| +#include "platform/graphics/paint/PaintFlags.h"
|
| #include "platform/graphics/skia/SkiaUtils.h"
|
| #include "third_party/skia/include/core/SkPaint.h"
|
|
|
| @@ -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(PaintFlags& paint, float paintAlpha) {
|
| SkColor baseColor = m_gradient || m_pattern ? SK_ColorBLACK : m_color.rgb();
|
| paint.setColor(scaleAlpha(baseColor, paintAlpha));
|
| if (m_pattern) {
|
|
|