diff options
author | mtklein <mtklein@chromium.org> | 2016-02-16 19:06:15 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-16 19:06:15 -0800 |
commit | 048494c1e236c4db9d18952de83d2602c1abc7c3 (patch) | |
tree | 69997f908e6a8162e4f2d5ad854f10070bc4b6fd /tests/PathOpsThreadedCommon.h | |
parent | f60a8908d2ee5cc2e699dc42c17a6e431c3a49ac (diff) |
clean up more dead code
- SkSHA1 is unused
- SkRunnable is obsolete now that we have std::function
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1705583003
Review URL: https://codereview.chromium.org/1705583003
Diffstat (limited to 'tests/PathOpsThreadedCommon.h')
-rw-r--r-- | tests/PathOpsThreadedCommon.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/PathOpsThreadedCommon.h b/tests/PathOpsThreadedCommon.h index 5bf5da2682..54586d95cc 100644 --- a/tests/PathOpsThreadedCommon.h +++ b/tests/PathOpsThreadedCommon.h @@ -8,7 +8,6 @@ #define PathOpsThreadedCommon_DEFINED #include "SkGraphics.h" -#include "SkRunnable.h" #include "SkTDArray.h" #define PATH_STR_SIZE 512 @@ -44,7 +43,7 @@ public: skiatest::Reporter* fReporter; }; -class PathOpsThreadedRunnable : public SkRunnable { +class PathOpsThreadedRunnable { public: PathOpsThreadedRunnable(void (*testFun)(PathOpsThreadState*), int a, int b, int c, int d, PathOpsThreadedTestRunner* runner) { @@ -73,7 +72,7 @@ public: fTestFun = testFun; } - void run() override { + void operator()() { SkBitmap bitmap; fState.fBitmap = &bitmap; char pathStr[PATH_STR_SIZE]; |