mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 1329466 - Unbreak build on non-SPS platforms after bug 1323100. r=mstange
MozReview-Commit-ID: Af1CuVYSNCj --HG-- extra : rebase_source : ac6c76674785912a24081e7140df33ec0c2789e1
This commit is contained in:
parent
4d20e08a8c
commit
f77c4a415c
@ -246,14 +246,19 @@ static inline bool profiler_in_privacy_mode() { return false; }
|
||||
static inline void profiler_log(const char *str) {}
|
||||
static inline void profiler_log(const char *fmt, va_list args) {}
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
class AutoProfilerRegister final MOZ_STACK_CLASS
|
||||
{
|
||||
AutoProfilerRegister(const char* aName) {}
|
||||
public:
|
||||
explicit AutoProfilerRegister(const char* aName) {}
|
||||
private:
|
||||
AutoProfilerRegister(const AutoProfilerRegister&) = delete;
|
||||
AutoProfilerRegister& operator=(const AutoProfilerRegister&) = delete;
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
||||
#else
|
||||
|
||||
#include "GeckoProfilerImpl.h"
|
||||
|
Loading…
Reference in New Issue
Block a user