Index: tools/VisualBench/TimingStateMachine.cpp |
diff --git a/tools/VisualBench/TimingStateMachine.cpp b/tools/VisualBench/TimingStateMachine.cpp |
index 85aab42ba9763ef3f3f7e6aeec1fbd61934e0ade..ae03f5d1884f2a17dacdd42e1ef29f02cd9fabda 100644 |
--- a/tools/VisualBench/TimingStateMachine.cpp |
+++ b/tools/VisualBench/TimingStateMachine.cpp |
@@ -91,7 +91,9 @@ |
fLastMeasurement = this->elapsed() / (FLAGS_frames * fLoops); |
} |
-void TimingStateMachine::nextBenchmark() { |
+void TimingStateMachine::nextBenchmark(SkCanvas* canvas, Benchmark* benchmark) { |
+ benchmark->postDraw(canvas); |
+ benchmark->perCanvasPostDraw(canvas); |
fLoops = 1; |
fInnerState = kTuning_InnerState; |
fState = kPreWarm_State; |