mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1061048 - Fix some bad impliciti constructors in profiler; r=BenWa
This commit is contained in:
parent
23e7cc396a
commit
52c39a7ffc
@ -23,7 +23,7 @@ public:
|
||||
// call Map() to attempt the mapping. There is no corresponding
|
||||
// Unmap() since the unmapping is done in the destructor. Failure
|
||||
// messages are sent to |aLog|.
|
||||
AutoObjectMapperPOSIX(void(*aLog)(const char*));
|
||||
explicit AutoObjectMapperPOSIX(void(*aLog)(const char*));
|
||||
|
||||
// Unmap the file on destruction of this object.
|
||||
~AutoObjectMapperPOSIX();
|
||||
|
@ -13,7 +13,7 @@
|
||||
class JSStreamWriter
|
||||
{
|
||||
public:
|
||||
JSStreamWriter(std::ostream& aStream);
|
||||
explicit JSStreamWriter(std::ostream& aStream);
|
||||
~JSStreamWriter();
|
||||
|
||||
void BeginObject();
|
||||
|
@ -12,7 +12,7 @@ class SyncProfile;
|
||||
class ProfilerBacktrace
|
||||
{
|
||||
public:
|
||||
ProfilerBacktrace(SyncProfile* aProfile);
|
||||
explicit ProfilerBacktrace(SyncProfile* aProfile);
|
||||
~ProfilerBacktrace();
|
||||
|
||||
void StreamJSObject(JSStreamWriter& b);
|
||||
|
@ -28,7 +28,7 @@ public:
|
||||
/**
|
||||
* ProfilerMarkerPayload takes ownership of aStack
|
||||
*/
|
||||
ProfilerMarkerPayload(ProfilerBacktrace* aStack = nullptr);
|
||||
explicit ProfilerMarkerPayload(ProfilerBacktrace* aStack = nullptr);
|
||||
ProfilerMarkerPayload(const mozilla::TimeStamp& aStartTime,
|
||||
const mozilla::TimeStamp& aEndTime,
|
||||
ProfilerBacktrace* aStack = nullptr);
|
||||
@ -91,7 +91,7 @@ private:
|
||||
class ProfilerMarkerImagePayload : public ProfilerMarkerPayload
|
||||
{
|
||||
public:
|
||||
ProfilerMarkerImagePayload(gfxASurface *aImg);
|
||||
explicit ProfilerMarkerImagePayload(gfxASurface *aImg);
|
||||
|
||||
protected:
|
||||
virtual void
|
||||
|
@ -184,7 +184,7 @@ JSObject* TableTicker::ToJSObject(JSContext *aCx)
|
||||
}
|
||||
|
||||
struct SubprocessClosure {
|
||||
SubprocessClosure(JSStreamWriter *aWriter)
|
||||
explicit SubprocessClosure(JSStreamWriter *aWriter)
|
||||
: mWriter(aWriter)
|
||||
{}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user