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

Side by Side Diff: Source/core/svg/SVGMarkerElement.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/SVGMPathElement.cpp ('k') | Source/core/svg/SVGMaskElement.cpp » ('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) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 SVGLangSpace::addSupportedAttributes(supportedAttributes); 114 SVGLangSpace::addSupportedAttributes(supportedAttributes);
115 SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes ); 115 SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes );
116 SVGFitToViewBox::addSupportedAttributes(supportedAttributes); 116 SVGFitToViewBox::addSupportedAttributes(supportedAttributes);
117 supportedAttributes.add(SVGNames::markerUnitsAttr); 117 supportedAttributes.add(SVGNames::markerUnitsAttr);
118 supportedAttributes.add(SVGNames::refXAttr); 118 supportedAttributes.add(SVGNames::refXAttr);
119 supportedAttributes.add(SVGNames::refYAttr); 119 supportedAttributes.add(SVGNames::refYAttr);
120 supportedAttributes.add(SVGNames::markerWidthAttr); 120 supportedAttributes.add(SVGNames::markerWidthAttr);
121 supportedAttributes.add(SVGNames::markerHeightAttr); 121 supportedAttributes.add(SVGNames::markerHeightAttr);
122 supportedAttributes.add(SVGNames::orientAttr); 122 supportedAttributes.add(SVGNames::orientAttr);
123 } 123 }
124 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslato r>(attrName); 124 return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName);
125 } 125 }
126 126
127 void SVGMarkerElement::parseAttribute(const QualifiedName& name, const AtomicStr ing& value) 127 void SVGMarkerElement::parseAttribute(const QualifiedName& name, const AtomicStr ing& value)
128 { 128 {
129 SVGParsingError parseError = NoError; 129 SVGParsingError parseError = NoError;
130 130
131 if (!isSupportedAttribute(name)) 131 if (!isSupportedAttribute(name))
132 SVGStyledElement::parseAttribute(name, value); 132 SVGStyledElement::parseAttribute(name, value);
133 else if (name == SVGNames::markerUnitsAttr) { 133 else if (name == SVGNames::markerUnitsAttr) {
134 SVGMarkerUnitsType propertyValue = SVGPropertyTraits<SVGMarkerUnitsType> ::fromString(value); 134 SVGMarkerUnitsType propertyValue = SVGPropertyTraits<SVGMarkerUnitsType> ::fromString(value);
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 (ownerType, orientTypePropertyInfo(), ownerType->m_orientType.value); 248 (ownerType, orientTypePropertyInfo(), ownerType->m_orientType.value);
249 } 249 }
250 250
251 PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType> > SVGMarke rElement::orientTypeAnimated() 251 PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType> > SVGMarke rElement::orientTypeAnimated()
252 { 252 {
253 m_orientType.shouldSynchronize = true; 253 m_orientType.shouldSynchronize = true;
254 return static_pointer_cast<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOr ientType> >(lookupOrCreateOrientTypeWrapper(this)); 254 return static_pointer_cast<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOr ientType> >(lookupOrCreateOrientTypeWrapper(this));
255 } 255 }
256 256
257 } 257 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGMPathElement.cpp ('k') | Source/core/svg/SVGMaskElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698