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

Unified Diff: services/navigation/view_impl.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: services/navigation/view_impl.cc
diff --git a/services/navigation/view_impl.cc b/services/navigation/view_impl.cc
index 23c9bd5d89165c00ad376a6ee2ef225b373dbcb7..9728d97baf5e04318b08ff0da635fa9ef7ed2e31 100644
--- a/services/navigation/view_impl.cc
+++ b/services/navigation/view_impl.cc
@@ -8,7 +8,6 @@
#include "components/mus/public/cpp/window_tree_connection.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/web_contents.h"
-#include "ui/gfx/geometry/mojo/geometry_type_converters.h"
#include "ui/views/controls/webview/webview.h"
#include "ui/views/mus/native_widget_mus.h"
#include "ui/views/widget/widget.h"
@@ -71,8 +70,7 @@ void ViewImpl::AddNewContents(content::WebContents* source,
mojom::ViewPtr view;
mojom::ViewRequest view_request = GetProxy(&view);
client_->ViewCreated(std::move(view), GetProxy(&client),
- disposition == NEW_POPUP, mojo::Rect::From(initial_rect),
- user_gesture);
+ disposition == NEW_POPUP, initial_rect, user_gesture);
ViewImpl* impl =
new ViewImpl(connector_, new_contents->GetBrowserContext(),
std::move(client), std::move(view_request), ref_->Clone());

Powered by Google App Engine
This is Rietveld 408576698