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

Unified Diff: third_party/WebKit/Source/core/layout/ClipRects.h

Issue 1452313004: Don't use cached subsequence when clip changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/layout/ClipRects.h
diff --git a/third_party/WebKit/Source/core/layout/ClipRects.h b/third_party/WebKit/Source/core/layout/ClipRects.h
index a2ab3c05cf3022dafb410425b56a76826f1ed5d2..47d9b5a9689242042e011b0ea40cf526b0b85d4e 100644
--- a/third_party/WebKit/Source/core/layout/ClipRects.h
+++ b/third_party/WebKit/Source/core/layout/ClipRects.h
@@ -76,6 +76,8 @@ public:
&& fixed() == other.fixed();
}
+ bool operator!=(const ClipRects& other) const { return !(*this == other); }
+
ClipRects& operator=(const ClipRects& other)
{
m_overflowClipRect = other.overflowClipRect();

Powered by Google App Engine
This is Rietveld 408576698