| 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 118105e643fee1ea6d1d1df6417a1c9e4acfa5ca..307b883aeef3d1f9450c583e31489471f19459c7 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -591,16 +591,6 @@ bool ComputedStyle::DiffNeedsFullLayoutAndPaintInvalidation(
|
| // - or the layoutObject knows how to exactly invalidate paints caused by the
|
| // layout change instead of forced full paint invalidation.
|
|
|
| - if (surround_data_.Get() != other.surround_data_.Get()) {
|
| - // If our border widths change, then we need to layout. Other changes to
|
| - // borders only necessitate a paint invalidation.
|
| - if (!(BorderWidthEquals(BorderLeftWidth(), other.BorderLeftWidth())) ||
|
| - !(BorderWidthEquals(BorderTopWidth(), other.BorderTopWidth())) ||
|
| - !(BorderWidthEquals(BorderBottomWidth(), other.BorderBottomWidth())) ||
|
| - !(BorderWidthEquals(BorderRightWidth(), other.BorderRightWidth())))
|
| - return true;
|
| - }
|
| -
|
| if (ComputedStyleBase::DiffNeedsFullLayoutAndPaintInvalidation(other))
|
| return true;
|
|
|
|
|