Bug 1252808 - Don't use mozilla_sampler_stop() directly. r=snorp

When SPS profiler is disabled (breakpad is disabled etc), mozilla_sampler_stop() is undefined.  We should use profiler_stop() instead.  profiler_stop calls mozilla_sampler_stop() when SPS profiler is built.

MozReview-Commit-ID: LmuDJEQV7Pr

--HG--
extra : rebase_source : 741a68fea1a76152d332c1ce97a926dab41d4073
This commit is contained in:
Makoto Kato 2016-03-03 18:16:56 +09:00
parent 7f34ab2c75
commit cb4e448046

View File

@ -82,7 +82,7 @@ ANRReporter::ReleaseNativeStack()
// Maybe profiler support is disabled?
return;
}
mozilla_sampler_stop();
profiler_stop();
}
} // namespace