| Index: third_party/WebKit/Source/core/style/BorderData.h
|
| diff --git a/third_party/WebKit/Source/core/style/BorderData.h b/third_party/WebKit/Source/core/style/BorderData.h
|
| index 8cfd587be8d6ac4461eaae0f8cd2d0dbd3e22fcb..fb7ada516f6acaaa67677c4bf38a6f306416d7b8 100644
|
| --- a/third_party/WebKit/Source/core/style/BorderData.h
|
| +++ b/third_party/WebKit/Source/core/style/BorderData.h
|
| @@ -92,17 +92,13 @@ class BorderData {
|
|
|
| bool operator==(const BorderData& o) const {
|
| return m_left == o.m_left && m_right == o.m_right && m_top == o.m_top &&
|
| - m_bottom == o.m_bottom && m_image == o.m_image &&
|
| - m_topLeft == o.m_topLeft && m_topRight == o.m_topRight &&
|
| - m_bottomLeft == o.m_bottomLeft && m_bottomRight == o.m_bottomRight;
|
| + m_bottom == o.m_bottom && m_image == o.m_image && radiiEqual(o);
|
| }
|
|
|
| bool visuallyEqual(const BorderData& o) const {
|
| return m_left.visuallyEqual(o.m_left) && m_right.visuallyEqual(o.m_right) &&
|
| m_top.visuallyEqual(o.m_top) && m_bottom.visuallyEqual(o.m_bottom) &&
|
| - m_image == o.m_image && m_topLeft == o.m_topLeft &&
|
| - m_topRight == o.m_topRight && m_bottomLeft == o.m_bottomLeft &&
|
| - m_bottomRight == o.m_bottomRight;
|
| + m_image == o.m_image && radiiEqual(o);
|
| }
|
|
|
| bool visualOverflowEqual(const BorderData& o) const {
|
| @@ -118,6 +114,11 @@ class BorderData {
|
| borderBottomWidth() == o.borderBottomWidth();
|
| }
|
|
|
| + bool radiiEqual(const BorderData& o) const {
|
| + return m_topLeft == o.m_topLeft && m_topRight == o.m_topRight &&
|
| + m_bottomLeft == o.m_bottomLeft && m_bottomRight == o.m_bottomRight;
|
| + }
|
| +
|
| const BorderValue& left() const { return m_left; }
|
| const BorderValue& right() const { return m_right; }
|
| const BorderValue& top() const { return m_top; }
|
|
|