| 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 2d7226da077f444a07f3dd578c66bd57d8dbb923..cc26b5fe033157718a9e5a78cd2c736aff9b94d6 100644
|
| --- a/third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp
|
| @@ -118,6 +118,15 @@ void PrintTo(const FloatSize& size, std::ostream* os)
|
| << size.height() << ")";
|
| }
|
|
|
| +void PrintTo(const IntRect& rect, std::ostream* os)
|
| +{
|
| + *os << "IntRect("
|
| + << rect.x() << ", "
|
| + << rect.y() << ", "
|
| + << rect.width() << ", "
|
| + << rect.height() << ")";
|
| +}
|
| +
|
| void PrintTo(const LayoutRect& rect, std::ostream* os)
|
| {
|
| ScopedFloatFlags scope(*os);
|
|
|