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

Unified Diff: Source/core/css/resolver/StyleBuilderCustom.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/resolver/FilterOperationResolver.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleBuilderCustom.cpp
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp
index d7dc4ef1f7b992bd41c9b31f89b568a813e8805c..b09f8e5a324566b225f753ebc85c7f62e0811907 100644
--- a/Source/core/css/resolver/StyleBuilderCustom.cpp
+++ b/Source/core/css/resolver/StyleBuilderCustom.cpp
@@ -59,13 +59,13 @@ void StyleBuilderFunctions::applyValueCSSPropertyZoom(StyleResolver* styleResolv
ASSERT_WITH_SECURITY_IMPLICATION(value->isPrimitiveValue());
CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
- if (primitiveValue->getIdent() == CSSValueNormal) {
+ if (primitiveValue->getValueID() == CSSValueNormal) {
resetEffectiveZoom(styleResolver);
styleResolver->setZoom(RenderStyle::initialZoom());
- } else if (primitiveValue->getIdent() == CSSValueReset) {
+ } else if (primitiveValue->getValueID() == CSSValueReset) {
styleResolver->setEffectiveZoom(RenderStyle::initialZoom());
styleResolver->setZoom(RenderStyle::initialZoom());
- } else if (primitiveValue->getIdent() == CSSValueDocument) {
+ } else if (primitiveValue->getValueID() == CSSValueDocument) {
float docZoom = styleResolver->rootElementStyle() ? styleResolver->rootElementStyle()->zoom() : RenderStyle::initialZoom();
styleResolver->setEffectiveZoom(docZoom);
styleResolver->setZoom(docZoom);
« no previous file with comments | « Source/core/css/resolver/FilterOperationResolver.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698