diff --git a/xpcom/threads/TimerThread.cpp b/xpcom/threads/TimerThread.cpp index d56e104bbc..336e4d5a8b 100644 --- a/xpcom/threads/TimerThread.cpp +++ b/xpcom/threads/TimerThread.cpp @@ -601,7 +601,7 @@ TimerThread::FindNextFireTimeForCurrentThread(TimeStamp aDefault, uint32_t aSear uint32_t index = 0; for (auto timers = mTimers.begin(); timers != mTimers.end(); ++timers) { - nsTimerImpl* timer = (*timers)->Value(); + nsTimerImpl* timer = (*timers)->mTimerImpl(); if (!timer) { continue;