зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1045068 - Fix some bad implicit constructors in Gecko profiler; r=BenWa
This commit is contained in:
Родитель
2ab43e1c66
Коммит
bb15d81dce
|
@ -200,7 +200,7 @@ static inline bool profiler_in_privacy_mode() { return false; }
|
|||
|
||||
class GeckoProfilerInitRAII {
|
||||
public:
|
||||
GeckoProfilerInitRAII(void* stackTop) {
|
||||
explicit GeckoProfilerInitRAII(void* stackTop) {
|
||||
profiler_init(stackTop);
|
||||
}
|
||||
~GeckoProfilerInitRAII() {
|
||||
|
|
|
@ -96,7 +96,7 @@ class ThreadProfile;
|
|||
class ProfilerMarker {
|
||||
friend class ProfilerLinkedList<ProfilerMarker>;
|
||||
public:
|
||||
ProfilerMarker(const char* aMarkerName,
|
||||
explicit ProfilerMarker(const char* aMarkerName,
|
||||
ProfilerMarkerPayload* aPayload = nullptr,
|
||||
float aTime = 0);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче