Index: tools/VisualBench/VisualStreamTimingModule.h |
diff --git a/tools/VisualBench/VisualStreamTimingModule.h b/tools/VisualBench/VisualStreamTimingModule.h |
index 5dbec693fa969d6294e09c267cf36c24cd11fef5..7bba3af193e0f3ce7f434296b78504f81ed1fa5b 100644 |
--- a/tools/VisualBench/VisualStreamTimingModule.h |
+++ b/tools/VisualBench/VisualStreamTimingModule.h |
@@ -27,6 +27,9 @@ public: |
VisualStreamTimingModule(VisualBench* owner, bool preWarmBeforeSample); |
void draw(SkCanvas* canvas) override; |
+protected: |
+ VisualBench* owner() { return fOwner; } |
+ |
private: |
virtual void renderFrame(SkCanvas*, Benchmark*, int loops)=0; |
@@ -39,6 +42,7 @@ private: |
TimingStateMachine fTSM; |
SkAutoTDelete<VisualBenchmarkStream> fBenchmarkStream; |
enum InitState { |
+ kInitial_InitState, |
kNone_InitState, |
kReset_InitState, |
kNewBenchmark_InitState, |