Index: third_party/WebKit/Source/platform/geometry/IntPoint.h |
diff --git a/third_party/WebKit/Source/platform/geometry/IntPoint.h b/third_party/WebKit/Source/platform/geometry/IntPoint.h |
index 5d7825d636d37e642f8a4e9d9067fdf3a916c276..fef845d94bf3879391a96c75d0b902d6829adb12 100644 |
--- a/third_party/WebKit/Source/platform/geometry/IntPoint.h |
+++ b/third_party/WebKit/Source/platform/geometry/IntPoint.h |
@@ -101,9 +101,7 @@ public: |
#endif |
#endif |
-#ifndef NDEBUG |
String toString() const; |
-#endif |
private: |
int m_x, m_y; |
@@ -166,6 +164,10 @@ inline int IntPoint::distanceSquaredToPoint(const IntPoint& point) const |
return ((*this) - point).diagonalLengthSquared(); |
} |
+// Redeclared here to avoid ODR issues. |
+// See platform/testing/GeometryPrinters.h. |
+void PrintTo(const IntPoint&, std::ostream*); |
+ |
} // namespace blink |
WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::IntPoint); |