mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1048242
- Fix more bad implicit constructors in docshell; r=smaug
This commit is contained in:
parent
5468b836e6
commit
8c8feaa815
@ -29,7 +29,7 @@ public:
|
||||
nsresult Init();
|
||||
|
||||
protected:
|
||||
nsDSURIContentListener(nsDocShell* aDocShell);
|
||||
explicit nsDSURIContentListener(nsDocShell* aDocShell);
|
||||
virtual ~nsDSURIContentListener();
|
||||
|
||||
void DropDocShellreference() {
|
||||
|
@ -659,7 +659,7 @@ protected:
|
||||
class RestorePresentationEvent : public nsRunnable {
|
||||
public:
|
||||
NS_DECL_NSIRUNNABLE
|
||||
RestorePresentationEvent(nsDocShell *ds) : mDocShell(ds) {}
|
||||
explicit RestorePresentationEvent(nsDocShell *ds) : mDocShell(ds) {}
|
||||
void Revoke() { mDocShell = nullptr; }
|
||||
private:
|
||||
nsRefPtr<nsDocShell> mDocShell;
|
||||
@ -922,7 +922,7 @@ private:
|
||||
public:
|
||||
class InterfaceRequestorProxy : public nsIInterfaceRequestor {
|
||||
public:
|
||||
InterfaceRequestorProxy(nsIInterfaceRequestor* p);
|
||||
explicit InterfaceRequestorProxy(nsIInterfaceRequestor* p);
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
NS_DECL_NSIINTERFACEREQUESTOR
|
||||
|
||||
|
@ -20,7 +20,7 @@ class nsDocShellEditorData
|
||||
{
|
||||
public:
|
||||
|
||||
nsDocShellEditorData(nsIDocShell* inOwningDocShell);
|
||||
explicit nsDocShellEditorData(nsIDocShell* inOwningDocShell);
|
||||
~nsDocShellEditorData();
|
||||
|
||||
nsresult MakeEditable(bool inWaitForUriLoad);
|
||||
|
@ -42,7 +42,7 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
nsDocShellEnumerator(int32_t inEnumerationDirection);
|
||||
explicit nsDocShellEnumerator(int32_t inEnumerationDirection);
|
||||
|
||||
// nsISupports
|
||||
NS_DECL_ISUPPORTS
|
||||
|
@ -108,7 +108,7 @@ public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSISIMPLEENUMERATOR
|
||||
|
||||
nsSHEnumerator(nsSHistory * aHistory);
|
||||
explicit nsSHEnumerator(nsSHistory * aHistory);
|
||||
|
||||
protected:
|
||||
friend class nsSHistory;
|
||||
|
@ -209,7 +209,7 @@ protected:
|
||||
// Weak mRequest is ok; we'll be told if it decides to go away.
|
||||
nsIRequest * const mRequest;
|
||||
|
||||
nsStatusInfo(nsIRequest* aRequest) :
|
||||
explicit nsStatusInfo(nsIRequest* aRequest) :
|
||||
mRequest(aRequest)
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsStatusInfo);
|
||||
@ -222,7 +222,7 @@ protected:
|
||||
|
||||
struct nsRequestInfo : public PLDHashEntryHdr
|
||||
{
|
||||
nsRequestInfo(const void* key)
|
||||
explicit nsRequestInfo(const void* key)
|
||||
: mKey(key), mCurrentProgress(0), mMaxProgress(0), mUploading(false)
|
||||
, mLastStatus(nullptr)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user