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

Unified Diff: Source/core/svg/SVGTransform.h

Issue 463173003: Remove some SVG equality operators (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 | « Source/core/svg/SVGRect.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTransform.h
diff --git a/Source/core/svg/SVGTransform.h b/Source/core/svg/SVGTransform.h
index 146a38646c97d71d976041b7407c88a41bb7480c..f2d8896154fad7baf19db4f2b07dbdceff243d94 100644
--- a/Source/core/svg/SVGTransform.h
+++ b/Source/core/svg/SVGTransform.h
@@ -106,24 +106,12 @@ private:
explicit SVGTransform(const AffineTransform&);
SVGTransform(SVGTransformType, float, const FloatPoint&, const AffineTransform&);
- friend bool operator==(const SVGTransform& a, const SVGTransform& b);
-
SVGTransformType m_transformType;
float m_angle;
FloatPoint m_center;
AffineTransform m_matrix;
};
-inline bool operator==(const SVGTransform& a, const SVGTransform& b)
-{
- return a.m_transformType == b.m_transformType && a.m_angle == b.m_angle && a.m_matrix == b.m_matrix;
-}
-
-inline bool operator!=(const SVGTransform& a, const SVGTransform& b)
-{
- return !(a == b);
-}
-
} // namespace blink
#endif
« no previous file with comments | « Source/core/svg/SVGRect.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698