Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: Source/core/svg/animation/SVGSMILElement.cpp

Issue 268223003: Move InvalidationGuard/InstanceUpdateBlocker out of SVGElementInstance (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Perform the renames Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/svg/SVGUseElement.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 m_cachedRepeatDur = invalidCachedTime; 555 m_cachedRepeatDur = invalidCachedTime;
556 else if (attrName == SVGNames::repeatCountAttr) 556 else if (attrName == SVGNames::repeatCountAttr)
557 m_cachedRepeatCount = invalidCachedTime; 557 m_cachedRepeatCount = invalidCachedTime;
558 else if (attrName == SVGNames::minAttr) 558 else if (attrName == SVGNames::minAttr)
559 m_cachedMin = invalidCachedTime; 559 m_cachedMin = invalidCachedTime;
560 else if (attrName == SVGNames::maxAttr) 560 else if (attrName == SVGNames::maxAttr)
561 m_cachedMax = invalidCachedTime; 561 m_cachedMax = invalidCachedTime;
562 else if (attrName == SVGNames::attributeNameAttr) 562 else if (attrName == SVGNames::attributeNameAttr)
563 setAttributeName(constructQualifiedName(this, fastGetAttribute(SVGNames: :attributeNameAttr))); 563 setAttributeName(constructQualifiedName(this, fastGetAttribute(SVGNames: :attributeNameAttr)));
564 else if (attrName.matches(XLinkNames::hrefAttr)) { 564 else if (attrName.matches(XLinkNames::hrefAttr)) {
565 SVGElementInstance::InvalidationGuard invalidationGuard(this); 565 SVGElement::InvalidationGuard invalidationGuard(this);
566 buildPendingResource(); 566 buildPendingResource();
567 if (m_targetElement) 567 if (m_targetElement)
568 clearAnimatedType(m_targetElement); 568 clearAnimatedType(m_targetElement);
569 } else if (inDocument()) { 569 } else if (inDocument()) {
570 if (attrName == SVGNames::beginAttr) 570 if (attrName == SVGNames::beginAttr)
571 beginListChanged(elapsed()); 571 beginListChanged(elapsed());
572 else if (attrName == SVGNames::endAttr) 572 else if (attrName == SVGNames::endAttr)
573 endListChanged(elapsed()); 573 endListChanged(elapsed());
574 } 574 }
575 575
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1324 if (eventType == "repeatn") { 1324 if (eventType == "repeatn") {
1325 unsigned repeatEventCount = m_repeatEventCountList.first(); 1325 unsigned repeatEventCount = m_repeatEventCountList.first();
1326 m_repeatEventCountList.remove(0); 1326 m_repeatEventCountList.remove(0);
1327 dispatchEvent(RepeatEvent::create(eventType, repeatEventCount)); 1327 dispatchEvent(RepeatEvent::create(eventType, repeatEventCount));
1328 } else { 1328 } else {
1329 dispatchEvent(Event::create(eventType)); 1329 dispatchEvent(Event::create(eventType));
1330 } 1330 }
1331 } 1331 }
1332 1332
1333 } 1333 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGUseElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698