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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.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/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;

Powered by Google App Engine
This is Rietveld 408576698