No bug - Fix type error breaking microsecond profiling. r=me
authorBenoit Girard <b56girard@gmail.com>
Fri, 12 Dec 2014 16:49:00 -0500
changeset 219595 e82d68a27632073b803a8bb74fc1f9cdec2439ce
parent 219594 5cdf2a9449a5bad6f547147cb020c031747b28ce
child 219596 1165556f34c355199cdf4b6fd8a385f3fdca9193
push idunknown
push userunknown
push dateunknown
reviewersme
milestone37.0a1
No bug - Fix type error breaking microsecond profiling. r=me
tools/profiler/GeckoProfilerImpl.h
--- a/tools/profiler/GeckoProfilerImpl.h
+++ b/tools/profiler/GeckoProfilerImpl.h
@@ -70,19 +70,19 @@ void profiler_shutdown()
 {
 #ifdef MOZ_TASK_TRACER
   mozilla::tasktracer::ShutdownTaskTracer();
 #endif
   mozilla_sampler_shutdown();
 }
 
 static inline
-void profiler_start(int aProfileEntries, int aInterval,
-                       const char** aFeatures, uint32_t aFeatureCount,
-                       const char** aThreadNameFilters, uint32_t aFilterCount)
+void profiler_start(int aProfileEntries, double aInterval,
+                    const char** aFeatures, uint32_t aFeatureCount,
+                    const char** aThreadNameFilters, uint32_t aFilterCount)
 {
   mozilla_sampler_start(aProfileEntries, aInterval, aFeatures, aFeatureCount, aThreadNameFilters, aFilterCount);
 }
 
 static inline
 void profiler_stop()
 {
   mozilla_sampler_stop();