Index: third_party/WebKit/Source/platform/geometry/LayoutSize.h |
diff --git a/third_party/WebKit/Source/platform/geometry/LayoutSize.h b/third_party/WebKit/Source/platform/geometry/LayoutSize.h |
index 2ed633320a879a9f1c6029fa5267f1033fc97b0d..1c51def6053305c7ec7ca82297a183daab281288 100644 |
--- a/third_party/WebKit/Source/platform/geometry/LayoutSize.h |
+++ b/third_party/WebKit/Source/platform/geometry/LayoutSize.h |
@@ -148,9 +148,7 @@ public: |
return LayoutSize(m_width.fraction(), m_height.fraction()); |
} |
-#ifndef NDEBUG |
String toString() const; |
-#endif |
private: |
LayoutUnit m_width, m_height; |
@@ -232,6 +230,10 @@ inline LayoutSize roundedLayoutSize(const FloatSize& s) |
return LayoutSize(s); |
} |
+// Redeclared here to avoid ODR issues. |
+// See platform/testing/GeometryPrinters.h. |
+void PrintTo(const LayoutSize&, std::ostream*); |
+ |
} // namespace blink |
#endif // LayoutSize_h |