head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2; locks; strict; comment @# @; 1.2 date 2011.06.09.11.00.02; author drochner; state dead; branches; next 1.1; 1.1 date 2011.04.14.18.11.45; author drochner; state Exp; branches; next ; desc @@ 1.2 log @update to 1.4.1 this switches to the new stable branch (shlib major changed -> PKGREV bumps needed) @ text @$NetBSD: patch-ck,v 1.1 2011/04/14 18:11:45 drochner Exp $ --- WebCore/page/animation/AnimationController.cpp.orig 2010-09-10 13:20:33.000000000 +0000 +++ WebCore/page/animation/AnimationController.cpp @@@@ -138,16 +138,16 @@@@ void AnimationControllerPrivate::updateS RefPtr protector = m_frame; // fire all the events - Vector::const_iterator eventsToDispatchEnd = m_eventsToDispatch.end(); - for (Vector::const_iterator it = m_eventsToDispatch.begin(); it != eventsToDispatchEnd; ++it) { + Vector eventsToDispatch = m_eventsToDispatch; + m_eventsToDispatch.clear(); + Vector::const_iterator eventsToDispatchEnd = eventsToDispatch.end(); + for (Vector::const_iterator it = eventsToDispatch.begin(); it != eventsToDispatchEnd; ++it) { if (it->eventType == eventNames().webkitTransitionEndEvent) it->element->dispatchEvent(WebKitTransitionEvent::create(it->eventType, it->name, it->elapsedTime)); else it->element->dispatchEvent(WebKitAnimationEvent::create(it->eventType, it->name, it->elapsedTime)); } - m_eventsToDispatch.clear(); - // call setChanged on all the elements Vector >::const_iterator nodeChangesToDispatchEnd = m_nodeChangesToDispatch.end(); for (Vector >::const_iterator it = m_nodeChangesToDispatch.begin(); it != nodeChangesToDispatchEnd; ++it) @ 1.1 log @add patches from upstream, mostly fixing pointer handling isses which can lead to crashes and possibly code injection (cve-2010-4205, cve-2011-0471, cve-2011-0473, cve-2011-0478, cve-2011-0981, cve-2011-0982) bump PKGREV @ text @d1 1 a1 1 $NetBSD$ @