| Index: components/mus/example/views_examples/views_examples_application_delegate.cc
|
| diff --git a/components/mus/example/views_examples/views_examples_application_delegate.cc b/components/mus/example/views_examples/views_examples_application_delegate.cc
|
| index 889186cf15a21f96f211d241a0da202f6289a1ba..d02cb6733ba14b48cd18b14763e865be33665ba3 100644
|
| --- a/components/mus/example/views_examples/views_examples_application_delegate.cc
|
| +++ b/components/mus/example/views_examples/views_examples_application_delegate.cc
|
| @@ -9,7 +9,6 @@
|
| #include "mojo/application/public/cpp/application_impl.h"
|
| #include "ui/views/examples/example_base.h"
|
| #include "ui/views/examples/examples_window.h"
|
| -#include "ui/views/widget/widget_delegate.h"
|
|
|
| ViewsExamplesApplicationDelegate::ViewsExamplesApplicationDelegate()
|
| : app_(nullptr) {}
|
| @@ -22,12 +21,6 @@ void ViewsExamplesApplicationDelegate::Initialize(mojo::ApplicationImpl* app) {
|
|
|
| mus_views_init_.reset(new MUSViewsInit(app));
|
|
|
| - // TODO(sky): total hack! This is necessary as WindowTypeLauncherView is
|
| - // created before AuraInit. WindowTypeLauncherView uses resources that are
|
| - // configured by MUSViewsInit once a View is created. By creating a Widget
|
| - // here we ensure the necessary state has been setup.
|
| - views::Widget::CreateWindow(new views::WidgetDelegateView);
|
| -
|
| views::examples::ShowExamplesWindow(views::examples::DO_NOTHING_ON_CLOSE,
|
| nullptr, nullptr);
|
| }
|
|
|