Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
index 7a2f5486be031b2c5a5c377398182889b920dd08..a77765b37f27adab450e55f01e77333167fb3067 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -1082,7 +1082,7 @@ static LayoutRect sizingBox(const LayoutObject* layoutObject) { |
return LayoutRect(); |
const LayoutBox* box = toLayoutBox(layoutObject); |
- return box->style()->boxSizing() == BoxSizingBorderBox |
+ return box->style()->boxSizing() == EBoxSizing::kBorderBox |
? box->borderBoxRect() |
: box->computedCSSContentBoxRect(); |
} |
@@ -2862,7 +2862,7 @@ const CSSValue* ComputedStyleCSSValueMapping::get( |
return CSSPrimitiveValue::create(style.zoom(), |
CSSPrimitiveValue::UnitType::Number); |
case CSSPropertyBoxSizing: |
- if (style.boxSizing() == BoxSizingContentBox) |
+ if (style.boxSizing() == EBoxSizing::kContentBox) |
return CSSIdentifierValue::create(CSSValueContentBox); |
return CSSIdentifierValue::create(CSSValueBorderBox); |
case CSSPropertyWebkitAppRegion: |