| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
|
| index 25b257267e09d09b041e7616018e115f26334a1e..9014569600702927a863443b487fad78f66f5127 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
|
| @@ -22,10 +22,9 @@
|
|
|
| #include "core/layout/svg/LayoutSVGResourceContainer.h"
|
| #include "core/svg/SVGClipPathElement.h"
|
| +#include "skia/ext/cdl_common.h"
|
| #include "third_party/skia/include/core/SkRefCnt.h"
|
|
|
| -class SkPicture;
|
| -
|
| namespace blink {
|
|
|
| class LayoutSVGResourceClipper final : public LayoutSVGResourceContainer {
|
| @@ -54,7 +53,7 @@ class LayoutSVGResourceClipper final : public LayoutSVGResourceContainer {
|
| }
|
|
|
| bool asPath(const AffineTransform&, const FloatRect& referenceBox, Path&);
|
| - sk_sp<const SkPicture> createContentPicture();
|
| + sk_sp<const CdlPicture> createContentPicture();
|
|
|
| bool hasCycle() { return m_inClipExpansion; }
|
| void beginClipExpansion() {
|
| @@ -76,7 +75,7 @@ class LayoutSVGResourceClipper final : public LayoutSVGResourceContainer {
|
| Path m_clipContentPath;
|
|
|
| // Cache of the clip path picture when falling back to masking for clipping.
|
| - sk_sp<const SkPicture> m_clipContentPicture;
|
| + sk_sp<const CdlPicture> m_clipContentPicture;
|
|
|
| FloatRect m_localClipBounds;
|
|
|
|
|