mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 1178363 - make nsTimerImpl::SetDelayInternal a private method; r=poiru
Nothing outside nsTimerImpl uses it, and with a name like "SetDelayInternal", nothing should.
This commit is contained in:
parent
a38c8a3b51
commit
22b75ae28f
@ -48,8 +48,6 @@ public:
|
||||
// If a failure is encountered, the reference is returned to the caller
|
||||
static already_AddRefed<nsTimerImpl> PostTimerEvent(
|
||||
already_AddRefed<nsTimerImpl> aTimerRef);
|
||||
void SetDelayInternal(uint32_t aDelay);
|
||||
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
NS_DECL_NSITIMER
|
||||
|
||||
@ -66,6 +64,8 @@ public:
|
||||
virtual size_t SizeOfIncludingThis(mozilla::MallocSizeOf aMallocSizeOf) const override;
|
||||
|
||||
private:
|
||||
void SetDelayInternal(uint32_t aDelay);
|
||||
|
||||
enum class CallbackType : uint8_t {
|
||||
Unknown = 0,
|
||||
Interface = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user