mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1045068 - Fix some bad implicit constructors in Gecko profiler; r=BenWa
This commit is contained in:
parent
d5f17caca4
commit
1e97ce13cd
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user