diff options
author | 2017-03-19 15:04:17 -0400 | |
---|---|---|
committer | 2017-03-19 20:09:25 +0000 | |
commit | 2f6b5a47a50cdd218bc3302273be3a4a71add8fb (patch) | |
tree | f4d09bf9c395b4e406cfdf2625525317b3607f4b /src/pdf | |
parent | 919cc4562cc615c7f4b4325def1f7454bc8dd724 (diff) |
remove legacy vertices virtual from SkDevice
BUG=skia:6366
Change-Id: I9fb49538f358343a7c2e4541d0044d961ac1b54d
Reviewed-on: https://skia-review.googlesource.com/9870
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/pdf')
-rw-r--r-- | src/pdf/SkPDFDevice.cpp | 6 | ||||
-rw-r--r-- | src/pdf/SkPDFDevice.h | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index 4e637bf3ca..10b4241235 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -1453,11 +1453,7 @@ void SkPDFDevice::drawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, } } -void SkPDFDevice::drawVertices(SkCanvas::VertexMode, - int vertexCount, const SkPoint verts[], - const SkPoint texs[], const SkColor colors[], - SkBlendMode, const uint16_t indices[], - int indexCount, const SkPaint& paint) { +void SkPDFDevice::drawVertices(const SkVertices*, SkBlendMode, const SkPaint&) { if (this->cs().isEmpty(size(*this))) { return; } diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h index 176b8ed1b2..303d450bbe 100644 --- a/src/pdf/SkPDFDevice.h +++ b/src/pdf/SkPDFDevice.h @@ -111,11 +111,7 @@ public: const SkPoint& offset, const SkPaint&) override; void drawTextBlob(const SkTextBlob*, SkScalar x, SkScalar y, const SkPaint &, SkDrawFilter*) override; - void drawVertices(SkCanvas::VertexMode, - int vertexCount, const SkPoint verts[], - const SkPoint texs[], const SkColor colors[], - SkBlendMode, const uint16_t indices[], - int indexCount, const SkPaint& paint) override; + void drawVertices(const SkVertices*, SkBlendMode, const SkPaint&) override; void drawDevice(SkBaseDevice*, int x, int y, const SkPaint&) override; |