| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| index 181eb2a135b0593bfd69f06ab3e064c23cc2a75c..109f612f5bc12845416066515750cfcf795dd3bd 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -589,8 +589,7 @@ bool ComputedStyle::ScrollAnchorDisablingPropertyChanged(
|
| }
|
|
|
| if (surround_.Get() != other.surround_.Get()) {
|
| - if (!MarginEqual(other) || !OffsetEqual(other) ||
|
| - Padding() != other.Padding())
|
| + if (!MarginEqual(other) || !OffsetEqual(other) || !PaddingEqual(other))
|
| return true;
|
| }
|
|
|
| @@ -618,7 +617,7 @@ bool ComputedStyle::DiffNeedsFullLayoutAndPaintInvalidation(
|
| BorderRightWidth() != other.BorderRightWidth())
|
| return true;
|
|
|
| - if (Padding() != other.Padding())
|
| + if (!PaddingEqual(other))
|
| return true;
|
| }
|
|
|
|
|