mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1178363 - make nsTimerImpl::GetGeneration a private method; r=poiru
Since GetGeneration() is only called by nsTimerEvent, it doesn't need to be public.
This commit is contained in:
parent
a497db0426
commit
f95dac0fd1
@ -48,11 +48,6 @@ public:
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
NS_DECL_NSITIMER
|
||||
|
||||
int32_t GetGeneration()
|
||||
{
|
||||
return mGeneration;
|
||||
}
|
||||
|
||||
virtual size_t SizeOfIncludingThis(mozilla::MallocSizeOf aMallocSizeOf) const override;
|
||||
|
||||
private:
|
||||
@ -69,6 +64,11 @@ private:
|
||||
static already_AddRefed<nsTimerImpl> PostTimerEvent(
|
||||
already_AddRefed<nsTimerImpl> aTimerRef);
|
||||
|
||||
int32_t GetGeneration()
|
||||
{
|
||||
return mGeneration;
|
||||
}
|
||||
|
||||
enum class CallbackType : uint8_t {
|
||||
Unknown = 0,
|
||||
Interface = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user