mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
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:
parent
7f34ab2c75
commit
cb4e448046
@ -82,7 +82,7 @@ ANRReporter::ReleaseNativeStack()
|
||||
// Maybe profiler support is disabled?
|
||||
return;
|
||||
}
|
||||
mozilla_sampler_stop();
|
||||
profiler_stop();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
Loading…
Reference in New Issue
Block a user