| Index: chrome/test/media_router/media_router_integration_ui_browsertest.cc
|
| diff --git a/chrome/test/media_router/media_router_integration_ui_browsertest.cc b/chrome/test/media_router/media_router_integration_ui_browsertest.cc
|
| index 3cd9737ab7a774a57de7f76f90f73cf3f181da07..df5825c3561e5e827b1f2fc8525f01eb0870b4bd 100644
|
| --- a/chrome/test/media_router/media_router_integration_ui_browsertest.cc
|
| +++ b/chrome/test/media_router/media_router_integration_ui_browsertest.cc
|
| @@ -19,11 +19,11 @@ const char kTestSinkName[] = "test-sink-1";
|
| }
|
|
|
| IN_PROC_BROWSER_TEST_F(MediaRouterIntegrationBrowserTest, MANUAL_Dialog_Basic) {
|
| - OpenTestPage(FILE_PATH_LITERAL("basic_test.html"));
|
| + OpenTestPage(FILE_PATH_LITERAL("basic_test.html"), browser());
|
| content::WebContents* web_contents =
|
| browser()->tab_strip_model()->GetActiveWebContents();
|
| content::WebContents* dialog_contents = OpenMRDialog(web_contents);
|
| - WaitUntilSinkDiscoveredOnUI();
|
| + WaitUntilSinkDiscoveredOnUI(web_contents);
|
| // Verify the sink list.
|
| std::string sink_length_script = base::StringPrintf(
|
| "domAutomationController.send("
|
| @@ -138,7 +138,7 @@ IN_PROC_BROWSER_TEST_F(MediaRouterIntegrationBrowserTest, MANUAL_Dialog_Basic) {
|
| IN_PROC_BROWSER_TEST_F(MediaRouterIntegrationBrowserTest,
|
| MANUAL_Dialog_RouteCreationTimedOut) {
|
| SetTestData(FILE_PATH_LITERAL("route_creation_timed_out.json"));
|
| - OpenTestPage(FILE_PATH_LITERAL("basic_test.html"));
|
| + OpenTestPage(FILE_PATH_LITERAL("basic_test.html"), browser());
|
| content::WebContents* web_contents =
|
| browser()->tab_strip_model()->GetActiveWebContents();
|
| content::WebContents* dialog_contents = OpenMRDialog(web_contents);
|
|
|