Bug 1699036 - Fix build error on (symbol 'profiler_is_locked_on_current_thread()' is multiply-defined) on platforms with MOZ_GECKO_PROFILER not defined, r=gerald. DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D108744
This commit is contained in:
Florian Quèze 2021-03-17 08:50:18 +00:00
parent 48b1ebeb71
commit dc0e6ae9f9

View File

@ -106,7 +106,7 @@ inline bool profiler_can_accept_markers() { return false; }
inline bool profiler_thread_is_being_profiled() { return false; }
inline bool profiler_is_active_and_thread_is_registered() { return false; }
inline bool profiler_feature_active(uint32_t aFeature) { return false; }
bool profiler_is_locked_on_current_thread() { return false; }
inline bool profiler_is_locked_on_current_thread() { return false; }
#else // !MOZ_GECKO_PROFILER