diff options
author | Mike Reed <reed@google.com> | 2017-04-05 16:21:47 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-06 12:53:21 +0000 |
commit | 93b1b4feda10c50ce10763ddf7e807f9b85c7953 (patch) | |
tree | 313b8b5e462fbc5b0662cd9771e8273e93fa0781 /tests/CanvasTest.cpp | |
parent | e78b7259c3d5cbed77b4390150cfb699b0b59cd4 (diff) |
add guard for obsolete (non-functioning) replayClips
replayClips has been disabled (broken) for a while.
This CL just attempts to hide the api (will remove
once android's callsite is removed)
Bug: skia:
Change-Id: I35b412addfc0a08ea888a62609888b9b54dce2a6
Reviewed-on: https://skia-review.googlesource.com/11401
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'tests/CanvasTest.cpp')
-rw-r--r-- | tests/CanvasTest.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp index 9e7de67165..26228bacde 100644 --- a/tests/CanvasTest.cpp +++ b/tests/CanvasTest.cpp @@ -275,24 +275,6 @@ private: } }; -class Canvas2CanvasClipVisitor : public SkCanvas::ClipVisitor { -public: - Canvas2CanvasClipVisitor(SkCanvas* target) : fTarget(target) {} - - void clipRect(const SkRect& r, SkClipOp op, bool aa) override { - fTarget->clipRect(r, op, aa); - } - void clipRRect(const SkRRect& r, SkClipOp op, bool aa) override { - fTarget->clipRRect(r, op, aa); - } - void clipPath(const SkPath& p, SkClipOp op, bool aa) override { - fTarget->clipPath(p, op, aa); - } - -private: - SkCanvas* fTarget; -}; - // Format strings that describe the test context. The %s token is where // the name of the test step is inserted. The context is required for // disambiguating the error in the case of failures that are reported in |