Chromium Code Reviews| 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 7bdb4d3e9e1259665a119a01391b1cec554e938e..ab17716a91adc06a8f14a72d34f786596468abae 100644 |
| --- a/third_party/WebKit/Source/core/style/BorderData.h |
| +++ b/third_party/WebKit/Source/core/style/BorderData.h |
| @@ -126,10 +126,10 @@ public: |
| bool sizeEquals(const BorderData& o) const |
|
dgrogan
2016/07/16 01:32:24
Yup, screwed this up.
eae
2016/07/18 16:21:53
Acknowledged.
|
| { |
| - return borderLeftWidth() != o.borderLeftWidth() |
| - || borderTopWidth() != o.borderTopWidth() |
| - || borderRightWidth() != o.borderRightWidth() |
| - || borderBottomWidth() != o.borderBottomWidth(); |
| + return borderLeftWidth() == o.borderLeftWidth() |
| + && borderTopWidth() == o.borderTopWidth() |
| + && borderRightWidth() == o.borderRightWidth() |
| + && borderBottomWidth() == o.borderBottomWidth(); |
| } |
| const BorderValue& left() const { return m_left; } |