Index: third_party/WebKit/Source/platform/geometry/IntSize.h |
diff --git a/third_party/WebKit/Source/platform/geometry/IntSize.h b/third_party/WebKit/Source/platform/geometry/IntSize.h |
index d3f51fe30a8d3956e37b98f3666e4ba57cdfc014..14eb1a1db51c975679ac2fddc043e70570b198a1 100644 |
--- a/third_party/WebKit/Source/platform/geometry/IntSize.h |
+++ b/third_party/WebKit/Source/platform/geometry/IntSize.h |
@@ -133,9 +133,7 @@ public: |
operator gfx::Size() const; |
-#ifndef NDEBUG |
String toString() const; |
-#endif |
private: |
int m_width, m_height; |
@@ -180,6 +178,10 @@ inline bool operator!=(const IntSize& a, const IntSize& b) |
return a.width() != b.width() || a.height() != b.height(); |
} |
+// Redeclared here to avoid ODR issues. |
+// See platform/testing/GeometryPrinters.h. |
+void PrintTo(const IntSize&, std::ostream*); |
+ |
} // namespace blink |
#endif // IntSize_h |