Index: bench/SkBenchmark.h |
diff --git a/bench/SkBenchmark.h b/bench/SkBenchmark.h |
index 00a816cdba76ca08316b378976023e0adf582662..e86c81b8ec5cdd44824e983d3e0f7690f2dc6627 100644 |
--- a/bench/SkBenchmark.h |
+++ b/bench/SkBenchmark.h |
@@ -72,11 +72,6 @@ public: |
// Bench framework can tune loops to be large enough for stable timing. |
void draw(const int loops, SkCanvas*); |
- // Call after draw, allows the benchmark to do cleanup work outside of the |
- // timer. When a benchmark is repeatedly drawn, this is only called once |
- // after the last draw. |
- void postDraw(); |
- |
void setForceAlpha(int alpha) { |
fForceAlpha = alpha; |
} |
@@ -118,7 +113,6 @@ protected: |
// Each bench should do its main work in a loop like this: |
// for (int i = 0; i < loops; i++) { <work here> } |
virtual void onDraw(const int loops, SkCanvas*) = 0; |
- virtual void onPostDraw() {} |
virtual SkIPoint onGetSize(); |