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

Unified Diff: svg/SVGStyledElement.cpp

Issue 500099: Fix link failure on LTCG builds.... (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: '' Created 11 years 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 side-by-side diff with in-line comments
Download patch
« svg/SVGAllInOne.cpp ('K') | « svg/SVGStyleElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: svg/SVGStyledElement.cpp
===================================================================
--- svg/SVGStyledElement.cpp (revision 52205)
+++ svg/SVGStyledElement.cpp (working copy)
@@ -71,7 +71,7 @@
return false;
}
-static void mapAttributeToCSSProperty(HashMap<AtomicStringImpl*, int>* propertyNameToIdMap, const QualifiedName& attrName)
+static void mapSvgAttributeToCSSProperty(HashMap<AtomicStringImpl*, int>* propertyNameToIdMap, const QualifiedName& attrName)
{
int propertyId = cssPropertyID(attrName.localName());
ASSERT(propertyId > 0);
@@ -87,64 +87,64 @@
if (!propertyNameToIdMap) {
propertyNameToIdMap = new HashMap<AtomicStringImpl*, int>;
// This is a list of all base CSS and SVG CSS properties which are exposed as SVG XML attributes
- mapAttributeToCSSProperty(propertyNameToIdMap, alignment_baselineAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, baseline_shiftAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, clipAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, clip_pathAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, clip_ruleAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, colorAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, color_interpolationAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, color_interpolation_filtersAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, color_profileAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, color_renderingAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, cursorAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, directionAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, displayAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, dominant_baselineAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, enable_backgroundAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, fillAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, fill_opacityAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, fill_ruleAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, filterAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, flood_colorAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, flood_opacityAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, font_familyAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, font_sizeAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, font_stretchAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, font_styleAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, font_variantAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, font_weightAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, glyph_orientation_horizontalAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, glyph_orientation_verticalAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, image_renderingAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, kerningAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, letter_spacingAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, lighting_colorAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, marker_endAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, marker_midAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, marker_startAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, maskAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, opacityAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, overflowAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, pointer_eventsAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, shape_renderingAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, stop_colorAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, stop_opacityAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, strokeAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, stroke_dasharrayAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, stroke_dashoffsetAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, stroke_linecapAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, stroke_linejoinAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, stroke_miterlimitAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, stroke_opacityAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, stroke_widthAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, text_anchorAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, text_decorationAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, text_renderingAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, unicode_bidiAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, visibilityAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, word_spacingAttr);
- mapAttributeToCSSProperty(propertyNameToIdMap, writing_modeAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, alignment_baselineAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, baseline_shiftAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, clipAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, clip_pathAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, clip_ruleAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, SVGNames::colorAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, color_interpolationAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, color_interpolation_filtersAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, color_profileAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, color_renderingAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, cursorAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, SVGNames::directionAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, displayAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, dominant_baselineAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, enable_backgroundAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, fillAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, fill_opacityAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, fill_ruleAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, filterAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, flood_colorAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, flood_opacityAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, font_familyAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, font_sizeAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, font_stretchAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, font_styleAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, font_variantAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, font_weightAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, glyph_orientation_horizontalAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, glyph_orientation_verticalAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, image_renderingAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, kerningAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, letter_spacingAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, lighting_colorAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, marker_endAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, marker_midAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, marker_startAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, maskAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, opacityAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, overflowAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, pointer_eventsAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, shape_renderingAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, stop_colorAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, stop_opacityAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, strokeAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, stroke_dasharrayAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, stroke_dashoffsetAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, stroke_linecapAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, stroke_linejoinAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, stroke_miterlimitAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, stroke_opacityAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, stroke_widthAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, text_anchorAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, text_decorationAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, text_renderingAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, unicode_bidiAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, visibilityAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, word_spacingAttr);
+ mapSvgAttributeToCSSProperty(propertyNameToIdMap, writing_modeAttr);
}
return propertyNameToIdMap->get(attrName.localName().impl());
« svg/SVGAllInOne.cpp ('K') | « svg/SVGStyleElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698