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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 months 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..fd745e0bb0d366c50dd5b4451d2cdbb4adb9bd0a 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.h
@@ -26,8 +26,6 @@
#include "platform/geometry/FloatRect.h"
#include "third_party/skia/include/core/SkRefCnt.h"
-class SkPicture;
-
namespace blink {
class AffineTransform;
@@ -62,14 +60,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 PaintRecord> createContentPicture(AffineTransform&,
+ const FloatRect&,
+ GraphicsContext&);
private:
void calculateMaskContentVisualRect();
- sk_sp<const SkPicture> m_maskContentPicture;
+ sk_sp<const PaintRecord> m_maskContentPicture;
FloatRect m_maskContentBoundaries;
};

Powered by Google App Engine
This is Rietveld 408576698