Chromium Code Reviews| 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..ef0c1e6952c428ab62e2352fecfa45c6123d5024 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::BorderBox |
|
napper
2017/01/17 04:04:56
Did you mean to also add the 'k' prefix as per you
|
| ? 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::ContentBox) |
| return CSSIdentifierValue::create(CSSValueContentBox); |
| return CSSIdentifierValue::create(CSSValueBorderBox); |
| case CSSPropertyWebkitAppRegion: |