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

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

Issue 1809643008: Adding or changing any of box-shadow, outline, or border-image-outset does not need a layout.. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 years, 9 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
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 72d28e16e2dfdf9493becd948cda1bba14633956..4aa16c310fb1938b95b82a247ad757d56021029f 100644
--- a/third_party/WebKit/Source/core/style/BorderData.h
+++ b/third_party/WebKit/Source/core/style/BorderData.h
@@ -114,6 +114,12 @@ public:
&& m_bottomRight == o.m_bottomRight;
}
+ bool visualOverflowEqual(const BorderData& o) const
+ {
+ return m_image.outset() == o.m_image.outset();
+ }
+
+
Xianzhu 2016/03/22 17:02:05 Nit: Extra blank line.
bool operator!=(const BorderData& o) const
{
return !(*this == o);

Powered by Google App Engine
This is Rietveld 408576698