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

Unified Diff: Source/core/css/SVGCSSStyleSelector.cpp

Issue 16415007: Cleanup usage of CSSPropertyID and CSSValueID inside Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/SVGCSSParser.cpp ('k') | Source/core/css/StylePropertySerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/SVGCSSStyleSelector.cpp
diff --git a/Source/core/css/SVGCSSStyleSelector.cpp b/Source/core/css/SVGCSSStyleSelector.cpp
index ace386b1d82f1836ba744f118f40f302e5a2f231..912ddd9cd1c6819d7cdbcc81537f8a7f60c664fd 100644
--- a/Source/core/css/SVGCSSStyleSelector.cpp
+++ b/Source/core/css/SVGCSSStyleSelector.cpp
@@ -133,8 +133,8 @@ void StyleResolver::applySVGProperty(CSSPropertyID id, CSSValue* value)
if (!primitiveValue)
break;
- if (primitiveValue->getIdent()) {
- switch (primitiveValue->getIdent()) {
+ if (primitiveValue->getValueID()) {
+ switch (primitiveValue->getValueID()) {
case CSSValueBaseline:
svgstyle->setBaselineShift(BS_BASELINE);
break;
@@ -535,7 +535,7 @@ void StyleResolver::applySVGProperty(CSSPropertyID id, CSSValue* value)
ASSERT(orientation != -1);
svgstyle->setGlyphOrientationVertical((EGlyphOrientation) orientation);
- } else if (primitiveValue->getIdent() == CSSValueAuto)
+ } else if (primitiveValue->getValueID() == CSSValueAuto)
svgstyle->setGlyphOrientationVertical(GO_AUTO);
break;
« no previous file with comments | « Source/core/css/SVGCSSParser.cpp ('k') | Source/core/css/StylePropertySerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698