| Index: mash/browser/browser.cc
|
| diff --git a/mash/browser/browser.cc b/mash/browser/browser.cc
|
| index 431569dfe372a032519026a34920a34468a1ae99..eab9a9d5620008ccd9fca075917200844259fc8b 100644
|
| --- a/mash/browser/browser.cc
|
| +++ b/mash/browser/browser.cc
|
| @@ -22,7 +22,6 @@
|
| #include "services/tracing/public/cpp/tracing_impl.h"
|
| #include "ui/aura/mus/mus_util.h"
|
| #include "ui/gfx/canvas.h"
|
| -#include "ui/gfx/geometry/mojo/geometry_type_converters.h"
|
| #include "ui/gfx/paint_throbber.h"
|
| #include "ui/gfx/text_constants.h"
|
| #include "ui/native_theme/native_theme.h"
|
| @@ -280,12 +279,12 @@ class UI : public views::WidgetDelegateView,
|
| void ViewCreated(navigation::mojom::ViewPtr view,
|
| navigation::mojom::ViewClientRequest request,
|
| bool is_popup,
|
| - mojo::RectPtr initial_rect,
|
| + const gfx::Rect& initial_rect,
|
| bool user_gesture) override {
|
| views::Widget* window = views::Widget::CreateWindowWithContextAndBounds(
|
| new UI(browser_, is_popup ? UI::Type::POPUP : UI::Type::WINDOW,
|
| std::move(view), std::move(request)),
|
| - nullptr, initial_rect.To<gfx::Rect>());
|
| + nullptr, initial_rect);
|
| window->Show();
|
| browser_->AddWindow(window);
|
| }
|
|
|