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

Unified Diff: third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h

Issue 2144823006: Reuse existing paint property node is possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - 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
Index: third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h
diff --git a/third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h b/third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h
index f3ccbbfdc548551a91ad5b0e39ad4589e858b54c..f38ac6860c2ef8186247fec6b79dcc65c163964d 100644
--- a/third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h
+++ b/third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h
@@ -207,6 +207,11 @@ inline bool operator==(const FloatRoundedRect& a, const FloatRoundedRect& b)
return a.rect() == b.rect() && a.getRadii() == b.getRadii();
}
+inline bool operator!=(const FloatRoundedRect& a, const FloatRoundedRect& b)
+{
+ return !(a == b);
+}
+
// Redeclared here to avoid ODR issues.
// See platform/testing/GeometryPrinters.h.
void PrintTo(const FloatRoundedRect&, std::ostream*);

Powered by Google App Engine
This is Rietveld 408576698