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

Unified Diff: components/mus/public/cpp/tests/window_tree_client_impl_private.cc

Issue 2008193002: Change mojo geometry structs from using type converters to StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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
Index: components/mus/public/cpp/tests/window_tree_client_impl_private.cc
diff --git a/components/mus/public/cpp/tests/window_tree_client_impl_private.cc b/components/mus/public/cpp/tests/window_tree_client_impl_private.cc
index 6ea06540eba3f1a25265bd2c6c2e99d10cf61bbc..68b14d31e46a9ae7c53c154b2bed59653cf50025 100644
--- a/components/mus/public/cpp/tests/window_tree_client_impl_private.cc
+++ b/components/mus/public/cpp/tests/window_tree_client_impl_private.cc
@@ -7,7 +7,6 @@
#include "components/mus/public/cpp/lib/window_tree_client_impl.h"
#include "components/mus/public/cpp/window.h"
#include "ui/events/mojo/input_events_type_converters.h"
-#include "ui/gfx/geometry/mojo/geometry_type_converters.h"
namespace mus {
@@ -28,7 +27,6 @@ void WindowTreeClientImplPrivate::OnEmbed(mojom::WindowTree* window_tree) {
mojom::WindowDataPtr root_data(mojom::WindowData::New());
root_data->parent_id = 0;
root_data->window_id = 1;
- root_data->bounds = mojo::Rect::From(gfx::Rect());
root_data->properties.SetToEmpty();
root_data->visible = true;
const int64_t display_id = 1;

Powered by Google App Engine
This is Rietveld 408576698