Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h
index 5472ea8b5f3a7868ab0f9bb39106c225f1ae16bd..2ec5eeda6b1d3644105ff52cdba805e1144b937b 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h
@@ -24,10 +24,9 @@
#include "core/svg/SVGMaskElement.h"
#include "core/svg/SVGUnitTypes.h"
#include "platform/geometry/FloatRect.h"
+#include "skia/ext/cdl_common.h"
#include "third_party/skia/include/core/SkRefCnt.h"
-class SkPicture;
-
namespace blink {
class AffineTransform;
@@ -62,14 +61,14 @@ class LayoutSVGResourceMasker final : public LayoutSVGResourceContainer {
static const LayoutSVGResourceType s_resourceType = MaskerResourceType;
LayoutSVGResourceType resourceType() const override { return s_resourceType; }
- sk_sp<const SkPicture> createContentPicture(AffineTransform&,
- const FloatRect&,
- GraphicsContext&);
+ sk_sp<const CdlPicture> createContentPicture(AffineTransform&,
+ const FloatRect&,
+ GraphicsContext&);
private:
void calculateMaskContentVisualRect();
- sk_sp<const SkPicture> m_maskContentPicture;
+ sk_sp<const CdlPicture> m_maskContentPicture;
FloatRect m_maskContentBoundaries;
};

Powered by Google App Engine
This is Rietveld 408576698