aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsThreadedCommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PathOpsThreadedCommon.h')
-rw-r--r--tests/PathOpsThreadedCommon.h5
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];