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:
Nathan Froyd 2015-06-17 21:40:18 -04:00
parent a38c8a3b51
commit 22b75ae28f

View File

@ -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,