Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
index bd748901bbd5c5f17f3e99944c07febdd67c323f..9228cfbf1a7b20f57f1b5203b3c86b28b4c71825 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -428,7 +428,7 @@ bool LayoutBlock::widthAvailableToChildrenHasChanged() { |
// changed width then the width available to our children has changed even |
// though our own width has remained the same. |
widthAvailableToChildrenHasChanged |= |
- style()->boxSizing() == BoxSizingBorderBox && |
+ style()->boxSizing() == EBoxSizing::kBorderBox && |
needsPreferredWidthsRecalculation() && |
view()->layoutState()->containingBlockLogicalWidthChanged(); |
@@ -541,7 +541,7 @@ bool LayoutBlock::createsNewFormattingContext() const { |
static inline bool changeInAvailableLogicalHeightAffectsChild( |
LayoutBlock* parent, |
LayoutBox& child) { |
- if (parent->style()->boxSizing() != BoxSizingBorderBox) |
+ if (parent->style()->boxSizing() != EBoxSizing::kBorderBox) |
return false; |
return parent->style()->isHorizontalWritingMode() && |
!child.style()->isHorizontalWritingMode(); |