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:
Jan Beich 2017-01-08 03:04:48 +00:00
parent 4d20e08a8c
commit f77c4a415c

View File

@ -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"