Changeset 173506 in webkit
- Timestamp:
- Sep 10, 2014 9:01:53 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r173504 r173506 1 2014-09-10 Adenilson Cavalcanti <cavalcantii@gmail.com> 2 3 [SVG] Cleanup iterator code in SMILTimeContainer using range-based loop 4 https://bugs.webkit.org/show_bug.cgi?id=136720 5 6 Reviewed by Filip Pizlo. 7 8 No new tests, no change on behavior. 9 10 * svg/animation/SMILTimeContainer.cpp: 11 (WebCore::SMILTimeContainer::setElapsed): 12 (WebCore::SMILTimeContainer::updateAnimations): 13 1 14 2014-09-10 Timothy Horton <timothy_horton@apple.com> 2 15 -
trunk/Source/WebCore/svg/animation/SMILTimeContainer.cpp
r163440 r173506 189 189 m_preventScheduledAnimationsChanges = true; 190 190 #endif 191 GroupedAnimationsMap::iterator end = m_scheduledAnimations.end(); 192 for (GroupedAnimationsMap::iterator it = m_scheduledAnimations.begin(); it != end; ++it) { 193 AnimationsVector* scheduled = it->value.get(); 191 for (auto& it : m_scheduledAnimations) { 192 AnimationsVector* scheduled = it.value.get(); 194 193 unsigned size = scheduled->size(); 195 194 for (unsigned n = 0; n < size; n++) … … 267 266 268 267 AnimationsVector animationsToApply; 269 GroupedAnimationsMap::iterator end = m_scheduledAnimations.end(); 270 for (GroupedAnimationsMap::iterator it = m_scheduledAnimations.begin(); it != end; ++it) { 271 AnimationsVector* scheduled = it->value.get(); 268 for (auto& it : m_scheduledAnimations) { 269 AnimationsVector* scheduled = it.value.get(); 272 270 273 271 // Sort according to priority. Elements with later begin time have higher priority.
Note: See TracChangeset
for help on using the changeset viewer.