Index: bench/SortBench.cpp |
diff --git a/bench/SortBench.cpp b/bench/SortBench.cpp |
index 6fb3a71bf9816646189cbf8d7c4575e4d45054e3..161e979776b8a81fa0af4c5e8b1c5e7a2ba9ef87 100644 |
--- a/bench/SortBench.cpp |
+++ b/bench/SortBench.cpp |
@@ -104,10 +104,13 @@ class SortBench : public SkBenchmark { |
public: |
SortBench(Type t, SortType s) : fType(t), fSortProc(gSorts[s].fProc) { |
- fIsRendering = false; |
fName.printf("sort_%s_%s", gSorts[s].fName, gRec[t].fName); |
} |
+ virtual bool isSuitableFor(Backend backend) SK_OVERRIDE { |
+ return backend == kNonRendering_Backend; |
+ } |
+ |
protected: |
virtual const char* onGetName() SK_OVERRIDE { |
return fName.c_str(); |