aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/sksg/geometry/SkSGRect.h
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/sksg/geometry/SkSGRect.h')
-rw-r--r--experimental/sksg/geometry/SkSGRect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/experimental/sksg/geometry/SkSGRect.h b/experimental/sksg/geometry/SkSGRect.h
index 108b1b2186..ad27910da9 100644
--- a/experimental/sksg/geometry/SkSGRect.h
+++ b/experimental/sksg/geometry/SkSGRect.h
@@ -35,6 +35,7 @@ protected:
void onDraw(SkCanvas*, const SkPaint&) const override;
SkRect onRevalidate(InvalidationController*, const SkMatrix&) override;
+ SkPath onAsPath() const override;
private:
explicit Rect(const SkRect&);
@@ -56,6 +57,7 @@ protected:
void onDraw(SkCanvas*, const SkPaint&) const override;
SkRect onRevalidate(InvalidationController*, const SkMatrix&) override;
+ SkPath onAsPath() const override;
private:
explicit RRect(const SkRRect&);