Bug 1230265 - Mark constructor as explicit; r=me a=ritu
authorJean-Yves Avenard <jyavenard@mozilla.com>
Wed, 09 Mar 2016 16:40:23 +1100
changeset 323716 dec341c282e883f82201e23a9d1006ba6eca214f
parent 323715 921e6142e8b9f40fd475efa934dc5136fa39faf0
child 323717 6ceec4d5edb0099a774e2f80f9f15c3407c99cc5
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, ritu
bugs1230265
milestone47.0a2
Bug 1230265 - Mark constructor as explicit; r=me a=ritu ON A CLOSED TREE. MozReview-Commit-ID: 1jCfP6OzCfH
dom/media/Benchmark.h
--- a/dom/media/Benchmark.h
+++ b/dom/media/Benchmark.h
@@ -78,17 +78,17 @@ public:
     const int32_t mFramesToMeasure;
     const uint32_t mStartupFrame;
     const Maybe<int32_t> mStopAtFrame;
     const TimeDuration mTimeout;
   };
 
   typedef MozPromise<uint32_t, bool, /* IsExclusive = */ true> BenchmarkPromise;
 
-  Benchmark(MediaDataDemuxer* aDemuxer, const Parameters& aParameters = Parameters());
+  explicit Benchmark(MediaDataDemuxer* aDemuxer, const Parameters& aParameters = Parameters());
   RefPtr<BenchmarkPromise> Run();
   void ReturnResult(uint32_t aDecodeFps);
   void Dispose();
 
   const Parameters mParameters;
 
 private:
   virtual ~Benchmark();