Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(839)

Unified Diff: third_party/WebKit/Source/core/style/BorderData.h

Issue 2153283002: [css-tables] Clean up code that detects significant border changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove /*static*/ Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableSection.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
{
- 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; }
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableSection.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698