Index: tools/VisualBench/VisualStreamTimingModule.cpp |
diff --git a/tools/VisualBench/VisualStreamTimingModule.cpp b/tools/VisualBench/VisualStreamTimingModule.cpp |
index cecc5acca7284a635a7eae4236c806d164cf14a1..ad7c1d0e80c00204835d4f587517a08ec618a185 100644 |
--- a/tools/VisualBench/VisualStreamTimingModule.cpp |
+++ b/tools/VisualBench/VisualStreamTimingModule.cpp |
@@ -13,7 +13,7 @@ VisualStreamTimingModule::VisualStreamTimingModule(VisualBench* owner, bool preW |
: fInitState(kReset_InitState) |
, fPreWarmBeforeSample(preWarmBeforeSample) |
, fOwner(owner) { |
- fBenchmarkStream.reset(new VisualBenchmarkStream); |
+ fBenchmarkStream.reset(new VisualBenchmarkStream(owner->getSurfaceProps())); |
} |
inline void VisualStreamTimingModule::handleInitState(SkCanvas* canvas) { |