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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.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/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..b9b73959d8832623ab3a12841b25f94a92155bbd 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
@@ -24,8 +24,6 @@
#include "core/svg/SVGClipPathElement.h"
#include "third_party/skia/include/core/SkRefCnt.h"
-class SkPicture;
-
namespace blink {
class LayoutSVGResourceClipper final : public LayoutSVGResourceContainer {
@@ -54,7 +52,7 @@ class LayoutSVGResourceClipper final : public LayoutSVGResourceContainer {
}
bool asPath(const AffineTransform&, const FloatRect& referenceBox, Path&);
- sk_sp<const SkPicture> createContentPicture();
+ sk_sp<const PaintRecord> createContentPicture();
bool hasCycle() { return m_inClipExpansion; }
void beginClipExpansion() {
@@ -76,7 +74,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 PaintRecord> m_clipContentPicture;
FloatRect m_localClipBounds;

Powered by Google App Engine
This is Rietveld 408576698