Index: third_party/WebKit/Source/platform/geometry/LayoutPoint.h |
diff --git a/third_party/WebKit/Source/platform/geometry/LayoutPoint.h b/third_party/WebKit/Source/platform/geometry/LayoutPoint.h |
index 38b6f2e321f17b928121248285aaec6c945b2b04..5fcd30cffebee2983b8ad7ea5e02255453dcffc6 100644 |
--- a/third_party/WebKit/Source/platform/geometry/LayoutPoint.h |
+++ b/third_party/WebKit/Source/platform/geometry/LayoutPoint.h |
@@ -91,9 +91,7 @@ public: |
return LayoutPoint(m_y, m_x); |
} |
-#ifndef NDEBUG |
String toString() const; |
-#endif |
private: |
LayoutUnit m_x, m_y; |
@@ -244,6 +242,10 @@ inline LayoutPoint flooredLayoutPoint(const FloatSize& s) |
return flooredLayoutPoint(FloatPoint(s)); |
} |
+// Redeclared here to avoid ODR issues. |
+// See platform/testing/GeometryPrinters.h. |
+void PrintTo(const LayoutPoint&, std::ostream*); |
+ |
} // namespace blink |
#endif // LayoutPoint_h |