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

Unified Diff: chrome/browser/geolocation/geolocation_browsertest.cc

Issue 1409163006: Migrating tests to use EmbeddedTestServer (/chrome/browser misc) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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: chrome/browser/geolocation/geolocation_browsertest.cc
diff --git a/chrome/browser/geolocation/geolocation_browsertest.cc b/chrome/browser/geolocation/geolocation_browsertest.cc
index c8ff648f1ff6e799fbe8808e815cb71beb671fe9..52b0ce54de40f7e0cfef288434d097fc27f2852a 100644
--- a/chrome/browser/geolocation/geolocation_browsertest.cc
+++ b/chrome/browser/geolocation/geolocation_browsertest.cc
@@ -294,8 +294,7 @@ void GeolocationBrowserTest::TearDownInProcessBrowserTestFixture() {
}
void GeolocationBrowserTest::Initialize(InitializationOptions options) {
- if (!embedded_test_server()->Started() &&
- !embedded_test_server()->InitializeAndWaitUntilReady()) {
+ if (!embedded_test_server()->Started() && !embedded_test_server()->Start()) {
ADD_FAILURE() << "Test server failed to start.";
return;
}
« no previous file with comments | « chrome/browser/favicon/content_favicon_driver_browsertest.cc ('k') | chrome/browser/history/history_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698