Changeset 153531 in webkit


Ignore:
Timestamp:
Jul 31, 2013 11:48:50 AM (11 years ago)
Author:
ap@apple.com
Message:

REGRESSION (r153406): DOM intervals are not properly restarted when resumed
https://bugs.webkit.org/show_bug.cgi?id=119345

Reviewed by Sam Weinig.

  • page/SuspendableTimer.cpp: (WebCore::SuspendableTimer::suspend): Call base class version of repeatInterval(), not our version that will just return the current value of m_savedRepeatInterval in this situation.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r153530 r153531  
     12013-07-31  Alexey Proskuryakov  <ap@apple.com>
     2
     3        REGRESSION (r153406): DOM intervals are not properly restarted when resumed
     4        https://bugs.webkit.org/show_bug.cgi?id=119345
     5
     6        Reviewed by Sam Weinig.
     7
     8        * page/SuspendableTimer.cpp: (WebCore::SuspendableTimer::suspend): Call base class
     9        version of repeatInterval(), not our version that will just return the current value
     10        of m_savedRepeatInterval in this situation.
     11
    1122013-07-31  Ryosuke Niwa  <rniwa@webkit.org>
    213
  • trunk/Source/WebCore/page/SuspendableTimer.cpp

    r153406 r153531  
    7070    m_savedIsActive = TimerBase::isActive();
    7171    if (m_savedIsActive) {
    72         m_savedNextFireInterval = nextUnalignedFireInterval();
    73         m_savedRepeatInterval = repeatInterval();
     72        m_savedNextFireInterval = TimerBase::nextUnalignedFireInterval();
     73        m_savedRepeatInterval = TimerBase::repeatInterval();
    7474        TimerBase::stop();
    7575    }
Note: See TracChangeset for help on using the changeset viewer.