From d19d39425cd08bcce7ae9316d983832ddae2e497 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Tue, 28 Aug 2018 15:59:16 -0400 Subject: [PATCH] onDrawTextOnPath is deprecated (not called) Test: build Change-Id: I28a4886ba011d35de323c75b49c1377aeb09548a --- libs/hwui/pipeline/skia/DumpOpsCanvas.h | 5 ----- libs/hwui/tests/unit/FatalTestCanvas.h | 4 ---- 2 files changed, 9 deletions(-) diff --git a/libs/hwui/pipeline/skia/DumpOpsCanvas.h b/libs/hwui/pipeline/skia/DumpOpsCanvas.h index 1f83d1a201b0e..dcfe6b3711717 100644 --- a/libs/hwui/pipeline/skia/DumpOpsCanvas.h +++ b/libs/hwui/pipeline/skia/DumpOpsCanvas.h @@ -94,11 +94,6 @@ protected: mOutput << mIdent << "drawPosTextH" << std::endl; } - void onDrawTextOnPath(const void*, size_t, const SkPath&, const SkMatrix*, - const SkPaint&) override { - mOutput << mIdent << "drawTextOnPath" << std::endl; - } - void onDrawTextRSXform(const void*, size_t, const SkRSXform[], const SkRect*, const SkPaint&) override { mOutput << mIdent << "drawTextRSXform" << std::endl; diff --git a/libs/hwui/tests/unit/FatalTestCanvas.h b/libs/hwui/tests/unit/FatalTestCanvas.h index 9693ce7b67843..89f0c52b49ec6 100644 --- a/libs/hwui/tests/unit/FatalTestCanvas.h +++ b/libs/hwui/tests/unit/FatalTestCanvas.h @@ -42,10 +42,6 @@ public: const SkPaint& paint) { ADD_FAILURE() << "onDrawPosTextH not expected in this test"; } - void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, - const SkMatrix* matrix, const SkPaint& paint) { - ADD_FAILURE() << "onDrawTextOnPath not expected in this test"; - } void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform[], const SkRect* cullRect, const SkPaint& paint) { ADD_FAILURE() << "onDrawTextRSXform not expected in this test";