Index: ui/gfx/test/gfx_util.cc |
diff --git a/ui/gfx/test/gfx_util.cc b/ui/gfx/test/gfx_util.cc |
index 2d670d4a9444aff4aa5d9e87a1a649439d108273..d8bf5f2af942e8b3eb54db125d47f78e8a39639e 100644 |
--- a/ui/gfx/test/gfx_util.cc |
+++ b/ui/gfx/test/gfx_util.cc |
@@ -15,6 +15,7 @@ |
#include "ui/gfx/geometry/quad_f.h" |
#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/geometry/rect_f.h" |
+#include "ui/gfx/geometry/scroll_offset.h" |
#include "ui/gfx/geometry/size.h" |
#include "ui/gfx/geometry/size_f.h" |
#include "ui/gfx/geometry/vector2d.h" |
@@ -118,6 +119,10 @@ void PrintTo(const RectF& rect, ::std::ostream* os) { |
*os << rect.ToString(); |
} |
+void PrintTo(const ScrollOffset& offset, ::std::ostream* os) { |
+ *os << offset.ToString(); |
+} |
+ |
void PrintTo(const Size& size, ::std::ostream* os) { |
*os << size.ToString(); |
} |