| Index: chrome/test/chromedriver/chrome/chrome_android_impl.cc
|
| diff --git a/chrome/test/chromedriver/chrome/chrome_android_impl.cc b/chrome/test/chromedriver/chrome/chrome_android_impl.cc
|
| index c467eb75ee99bc2544d6a00b2b35458a6081e70d..0f78096ebc257faa5a0ff4b97e1868a22a223d24 100644
|
| --- a/chrome/test/chromedriver/chrome/chrome_android_impl.cc
|
| +++ b/chrome/test/chromedriver/chrome/chrome_android_impl.cc
|
| @@ -9,7 +9,6 @@
|
| #include "base/process_util.h"
|
| #include "base/string_number_conversions.h"
|
| #include "chrome/test/chromedriver/chrome/status.h"
|
| -#include "chrome/test/chromedriver/chrome/web_view.h"
|
| #include "chrome/test/chromedriver/net/sync_websocket_impl.h"
|
| #include "chrome/test/chromedriver/net/url_request_context_getter.h"
|
|
|
| @@ -45,13 +44,6 @@ Status ChromeAndroidImpl::Launch(const std::string& package_name) {
|
| Quit();
|
| return status;
|
| }
|
| - std::list<WebView*> web_views;
|
| - status = GetWebViews(&web_views);
|
| - if (status.IsError() || web_views.empty()) {
|
| - Quit();
|
| - return status.IsError() ? status :
|
| - Status(kUnknownError, "unable to discover open window in chrome");
|
| - }
|
|
|
| return Status(kOk);
|
| }
|
|
|