| Index: components/html_viewer/html_viewer.cc
|
| diff --git a/components/html_viewer/html_viewer.cc b/components/html_viewer/html_viewer.cc
|
| index c8919870fa38b4fe9b42f708eef64b683c419ab3..3219a9bfd2bf778c6f0e84d19dd4fe0e29956759 100644
|
| --- a/components/html_viewer/html_viewer.cc
|
| +++ b/components/html_viewer/html_viewer.cc
|
| @@ -162,13 +162,6 @@ class HTMLViewer : public mojo::ApplicationDelegate,
|
| }
|
|
|
| bool ConfigureIncomingConnection(ApplicationConnection* connection) override {
|
| - // If we're not being connected to from the view manager assume we're being
|
| - // run in tests, or a headless environment, in which case we'll never get a
|
| - // ui and there is no point in waiting for it.
|
| - if (connection->GetRemoteApplicationURL() != "mojo://view_manager/" &&
|
| - !setup_->did_init()) {
|
| - setup_->InitHeadless();
|
| - }
|
| connection->AddService(this);
|
| return true;
|
| }
|
|
|