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

Unified Diff: Source/platform/geometry/FloatBox.h

Issue 1285413007: Unify geometry test printers in a test support target. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: PrintTo instead of operator<< Created 5 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/platform/blink_platform_tests.gyp ('k') | Source/platform/geometry/FloatBoxTestHelpers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/geometry/FloatBox.h
diff --git a/Source/platform/geometry/FloatBox.h b/Source/platform/geometry/FloatBox.h
index a5edd6043108029353fba267cf95a4b621bb1bf7..c070337353120b1c1bcd216feebeb85f410205b8 100644
--- a/Source/platform/geometry/FloatBox.h
+++ b/Source/platform/geometry/FloatBox.h
@@ -33,6 +33,7 @@
#include "platform/geometry/FloatPoint3D.h"
#include <algorithm>
#include <cmath>
+#include <iosfwd>
namespace blink {
@@ -176,6 +177,10 @@ inline bool operator!=(const FloatBox& a, const FloatBox& b)
return !(a == b);
}
+// Redeclared here to avoid ODR issues.
+// See platform/testing/GeometryPrinters.h.
+void PrintTo(const FloatBox&, std::ostream*);
+
} // namespace blink
#endif
« no previous file with comments | « Source/platform/blink_platform_tests.gyp ('k') | Source/platform/geometry/FloatBoxTestHelpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698