aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsThreadedCommon.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-02-16 19:06:15 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-16 19:06:15 -0800
commit048494c1e236c4db9d18952de83d2602c1abc7c3 (patch)
tree69997f908e6a8162e4f2d5ad854f10070bc4b6fd /tests/PathOpsThreadedCommon.cpp
parentf60a8908d2ee5cc2e699dc42c17a6e431c3a49ac (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.cpp')
-rw-r--r--tests/PathOpsThreadedCommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathOpsThreadedCommon.cpp b/tests/PathOpsThreadedCommon.cpp
index c9a06f0a52..a1a65b70a9 100644
--- a/tests/PathOpsThreadedCommon.cpp
+++ b/tests/PathOpsThreadedCommon.cpp
@@ -17,6 +17,6 @@ PathOpsThreadedTestRunner::~PathOpsThreadedTestRunner() {
void PathOpsThreadedTestRunner::render() {
SkTaskGroup().batch(fRunnables.count(), [&](int i) {
- fRunnables[i]->run();
+ (*fRunnables[i])();
});
}