Index: bench/XfermodeBench.cpp |
diff --git a/bench/XfermodeBench.cpp b/bench/XfermodeBench.cpp |
index 0c79cb3fa777ec0092908827c49d115dbd12fb1f..41b00e6c709e145f5053cc07bc632ca2317a7abe 100644 |
--- a/bench/XfermodeBench.cpp |
+++ b/bench/XfermodeBench.cpp |
@@ -63,8 +63,8 @@ private: |
class XferCreateBench : public SkBenchmark { |
public: |
- XferCreateBench() { |
- fIsRendering = false; |
+ virtual bool isSuitableFor(Backend backend) SK_OVERRIDE { |
+ return backend == kNonRendering_Backend; |
} |
protected: |