| Index: third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
|
| index c4b483124e4a67f3843172c4577e92e6c2ef5d60..80e40f9122afe4761cd275c7a48874ef15a59594 100644
|
| --- a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
|
| @@ -117,7 +117,7 @@ PaintInvalidationReason BoxPaintInvalidator::computePaintInvalidationReason() {
|
|
|
| if ((style.backgroundLayers().thisOrNextLayersUseContentBox() ||
|
| style.maskLayers().thisOrNextLayersUseContentBox() ||
|
| - style.boxSizing() == BoxSizingBorderBox) &&
|
| + style.boxSizing() == EBoxSizing::kBorderBox) &&
|
| previousContentBoxRect() != m_box.contentBoxRect())
|
| return PaintInvalidationContentBoxChange;
|
|
|
| @@ -322,7 +322,7 @@ bool BoxPaintInvalidator::needsToSavePreviousBoxGeometries() {
|
|
|
| // If we use border-box sizing we need to track changes in the size of the
|
| // content box.
|
| - if (style.boxSizing() == BoxSizingBorderBox)
|
| + if (style.boxSizing() == EBoxSizing::kBorderBox)
|
| return true;
|
|
|
| // No need to save old border box size if we can use size of the old paint
|
|
|