Index: chrome/test/remoting/unauthenticated_browsertest.cc |
diff --git a/chrome/test/remoting/unauthenticated_browsertest.cc b/chrome/test/remoting/unauthenticated_browsertest.cc |
index 842419593f5365fcd87eb00ec4a9d1f21b5237fc..23d2854af953a5794ed56e001595b145ca0497fe 100644 |
--- a/chrome/test/remoting/unauthenticated_browsertest.cc |
+++ b/chrome/test/remoting/unauthenticated_browsertest.cc |
@@ -11,10 +11,9 @@ class UnauthenticatedBrowserTest : public RemoteDesktopBrowserTest { |
IN_PROC_BROWSER_TEST_F(UnauthenticatedBrowserTest, MANUAL_Unauthenticated) { |
Install(); |
- LaunchChromotingApp(true); |
- LoadBrowserTestJavaScript(app_web_content()); |
+ content::WebContents* content = LaunchChromotingApp(true); |
+ LoadBrowserTestJavaScript(content); |
- content::WebContents* content = app_web_content(); |
LoadScript(content, FILE_PATH_LITERAL("unauthenticated_browser_test.js")); |
RunJavaScriptTest(content, "Unauthenticated", "{}"); |