Index: mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc |
diff --git a/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc b/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc |
index 83a1ce0b096fc79b44a3c46274878e5bbb52861c..620307eb64075c0740862fe5886ff681ea175f05 100644 |
--- a/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc |
+++ b/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "mojo/public/cpp/application/application_impl.h" |
#include "mojo/public/cpp/application/service_provider_impl.h" |
#include "mojo/public/interfaces/application/service_provider.mojom.h" |
+#include "mojo/services/public/cpp/geometry/geometry_util.h" |
#include "mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h" |
#include "mojo/services/public/cpp/view_manager/lib/view_private.h" |
#include "mojo/services/public/cpp/view_manager/util.h" |
@@ -24,17 +25,6 @@ |
namespace mojo { |
-// TODO(jam): move these somewhere else so they can be shared? |
- |
-inline bool operator==(const Rect& lhs, const Rect& rhs) { |
- return lhs.x == rhs.x && lhs.y == rhs.y && lhs.width == rhs.width && |
- lhs.height == lhs.height; |
-} |
- |
-inline bool operator!=(const Rect& lhs, const Rect& rhs) { |
- return !(lhs == rhs); |
-} |
- |
namespace { |
const char kWindowManagerURL[] = "mojo:window_manager"; |