Index: chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc |
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc |
index 9a0f518746f7846cc898cae2b977a58dfd0f5e7b..be041f6da89b5b1265e1475f14fa96d65015a55f 100644 |
--- a/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc |
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc |
@@ -112,8 +112,8 @@ IN_PROC_BROWSER_TEST_F(RegisterProtocolHandlerBrowserTest, |
} |
IN_PROC_BROWSER_TEST_F(RegisterProtocolHandlerBrowserTest, CustomHandler) { |
- ASSERT_TRUE(test_server()->Start()); |
- GURL handler_url = test_server()->GetURL("files/custom_handler_foo.html"); |
+ ASSERT_TRUE(embedded_test_server()->Start()); |
+ GURL handler_url = embedded_test_server()->GetURL("/custom_handler_foo.html"); |
AddProtocolHandler("foo", handler_url); |
ui_test_utils::NavigateToURL(browser(), GURL("foo:test")); |