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

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

Issue 17045008: HashSet: reverse the order of the template arguments at alternate 'find', 'contains' and 'add' meth… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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/SVGViewElement.cpp ('k') | Source/wtf/HashSet.h » ('j') | 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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 supportedAttributes.add(SVGNames::beginAttr); 443 supportedAttributes.add(SVGNames::beginAttr);
444 supportedAttributes.add(SVGNames::endAttr); 444 supportedAttributes.add(SVGNames::endAttr);
445 supportedAttributes.add(SVGNames::durAttr); 445 supportedAttributes.add(SVGNames::durAttr);
446 supportedAttributes.add(SVGNames::repeatDurAttr); 446 supportedAttributes.add(SVGNames::repeatDurAttr);
447 supportedAttributes.add(SVGNames::repeatCountAttr); 447 supportedAttributes.add(SVGNames::repeatCountAttr);
448 supportedAttributes.add(SVGNames::minAttr); 448 supportedAttributes.add(SVGNames::minAttr);
449 supportedAttributes.add(SVGNames::maxAttr); 449 supportedAttributes.add(SVGNames::maxAttr);
450 supportedAttributes.add(SVGNames::attributeNameAttr); 450 supportedAttributes.add(SVGNames::attributeNameAttr);
451 supportedAttributes.add(XLinkNames::hrefAttr); 451 supportedAttributes.add(XLinkNames::hrefAttr);
452 } 452 }
453 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslato r>(attrName); 453 return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName);
454 } 454 }
455 455
456 void SVGSMILElement::parseAttribute(const QualifiedName& name, const AtomicStrin g& value) 456 void SVGSMILElement::parseAttribute(const QualifiedName& name, const AtomicStrin g& value)
457 { 457 {
458 if (name == SVGNames::beginAttr) { 458 if (name == SVGNames::beginAttr) {
459 if (!m_conditions.isEmpty()) { 459 if (!m_conditions.isEmpty()) {
460 disconnectConditions(); 460 disconnectConditions();
461 m_conditions.clear(); 461 m_conditions.clear();
462 parseBeginOrEnd(fastGetAttribute(SVGNames::endAttr), End); 462 parseBeginOrEnd(fastGetAttribute(SVGNames::endAttr), End);
463 } 463 }
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 addBeginTime(elapsed, elapsed); 1186 addBeginTime(elapsed, elapsed);
1187 } 1187 }
1188 1188
1189 void SVGSMILElement::endedActiveInterval() 1189 void SVGSMILElement::endedActiveInterval()
1190 { 1190 {
1191 clearTimesWithDynamicOrigins(m_beginTimes); 1191 clearTimesWithDynamicOrigins(m_beginTimes);
1192 clearTimesWithDynamicOrigins(m_endTimes); 1192 clearTimesWithDynamicOrigins(m_endTimes);
1193 } 1193 }
1194 1194
1195 } 1195 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGViewElement.cpp ('k') | Source/wtf/HashSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698