aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/utils/SkNoDrawCanvas.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-03-17 09:50:46 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-17 14:27:33 +0000
commite88a1cb20e6b4c9f099070112225a88693a4630b (patch)
treec35774aef5ec56eb377d5bb9ed1ea2694e72efc6 /include/utils/SkNoDrawCanvas.h
parenta392dbaa998e9f137103f7a7e86f89cb7224552f (diff)
Revert[2] "More SkVertices implementation work""
The fix was to release the array of vertices in the picturerecorder destructor (where we also release textblobs etc. This reverts commit 1eb3fef136bc75bd8e8ed717ec7c5d4ab26def62. BUG=skia: Change-Id: I3bf4acd6ad209205b0832a3cb7f94cd89dfcefc5 Reviewed-on: https://skia-review.googlesource.com/9826 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/utils/SkNoDrawCanvas.h')
-rw-r--r--include/utils/SkNoDrawCanvas.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/utils/SkNoDrawCanvas.h b/include/utils/SkNoDrawCanvas.h
index 14b85549f4..75c15b201e 100644
--- a/include/utils/SkNoDrawCanvas.h
+++ b/include/utils/SkNoDrawCanvas.h
@@ -68,10 +68,7 @@ protected:
const SkPaint*) override {}
void onDrawVertices(VertexMode, int, const SkPoint[], const SkPoint[], const SkColor[],
SkBlendMode, const uint16_t[], int, const SkPaint&) override {}
- void onDrawVerticesObject(sk_sp<SkVertices> vertices, SkBlendMode mode, const SkPaint& paint,
- uint32_t flags) override {
- this->onDrawVerticesObjectFallback(std::move(vertices), mode, paint, flags);
- }
+ void onDrawVerticesObject(const SkVertices*, SkBlendMode, const SkPaint&) override {}
void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[],
int, SkBlendMode, const SkRect*, const SkPaint*) override {}