mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1137151: Marked destructors of refcounted FM-radio classes as protected, r=pzhang
This commit is contained in:
parent
505e0009d7
commit
356098eaa9
@ -60,8 +60,6 @@ public:
|
||||
mType = aType;
|
||||
}
|
||||
|
||||
~FMRadioRequest() { }
|
||||
|
||||
NS_IMETHODIMP
|
||||
Run()
|
||||
{
|
||||
@ -97,6 +95,9 @@ public:
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
protected:
|
||||
~FMRadioRequest() { }
|
||||
|
||||
private:
|
||||
FMRadioRequestArgs::Type mType;
|
||||
nsWeakPtr mFMRadio;
|
||||
|
@ -238,6 +238,9 @@ public:
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
protected:
|
||||
~ReadAirplaneModeSettingTask() {}
|
||||
|
||||
private:
|
||||
nsRefPtr<FMRadioReplyRunnable> mPendingRequest;
|
||||
};
|
||||
|
@ -159,7 +159,6 @@ class FMRadioService MOZ_FINAL : public IFMRadioService
|
||||
|
||||
public:
|
||||
static FMRadioService* Singleton();
|
||||
virtual ~FMRadioService();
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
@ -201,6 +200,7 @@ public:
|
||||
|
||||
protected:
|
||||
FMRadioService();
|
||||
virtual ~FMRadioService();
|
||||
|
||||
private:
|
||||
int32_t RoundFrequency(double aFrequencyInMHz);
|
||||
|
Loading…
Reference in New Issue
Block a user