| Index: third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp b/third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp
|
| index feb57e94174130df8951f37231609fc086e0b988..0eca1052cb041a514b4f44555deb61135fec464e 100644
|
| --- a/third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp
|
| @@ -4,6 +4,9 @@
|
|
|
| #include "platform/testing/GeometryPrinters.h"
|
|
|
| +#include "platform/geometry/DoublePoint.h"
|
| +#include "platform/geometry/DoubleRect.h"
|
| +#include "platform/geometry/DoubleSize.h"
|
| #include "platform/geometry/FloatBox.h"
|
| #include "platform/geometry/FloatPoint.h"
|
| #include "platform/geometry/FloatPoint3D.h"
|
| @@ -20,6 +23,21 @@
|
|
|
| namespace blink {
|
|
|
| +void PrintTo(const DoublePoint& point, std::ostream* os)
|
| +{
|
| + *os << point.toString();
|
| +}
|
| +
|
| +void PrintTo(const DoubleRect& rect, std::ostream* os)
|
| +{
|
| + *os << rect.toString();
|
| +}
|
| +
|
| +void PrintTo(const DoubleSize& size, std::ostream* os)
|
| +{
|
| + *os << size.toString();
|
| +}
|
| +
|
| void PrintTo(const FloatBox& box, std::ostream* os)
|
| {
|
| *os << box.toString();
|
|
|