From 22b75ae28ff8259ab6e0721676700d153ca5cdd3 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Wed, 17 Jun 2015 21:40:18 -0400 Subject: [PATCH] Bug 1178363 - make nsTimerImpl::SetDelayInternal a private method; r=poiru Nothing outside nsTimerImpl uses it, and with a name like "SetDelayInternal", nothing should. --- xpcom/threads/nsTimerImpl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcom/threads/nsTimerImpl.h b/xpcom/threads/nsTimerImpl.h index 94ee968a440c..22fe0f1e017e 100644 --- a/xpcom/threads/nsTimerImpl.h +++ b/xpcom/threads/nsTimerImpl.h @@ -48,8 +48,6 @@ public: // If a failure is encountered, the reference is returned to the caller static already_AddRefed PostTimerEvent( already_AddRefed 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,