Index: content/browser/screen_orientation/screen_orientation_browsertest.cc |
diff --git a/content/browser/screen_orientation/screen_orientation_browsertest.cc b/content/browser/screen_orientation/screen_orientation_browsertest.cc |
index 45710af63c226f5dc556dfd9c45c24c7aac783bf..cd6b6d21cc73b6c31c5fbccc91e2a1b1717415ac 100644 |
--- a/content/browser/screen_orientation/screen_orientation_browsertest.cc |
+++ b/content/browser/screen_orientation/screen_orientation_browsertest.cc |
@@ -237,7 +237,7 @@ IN_PROC_BROWSER_TEST_F(ScreenOrientationLockDisabledBrowserTest, |
navigation_observer.Wait(); |
{ |
- ASSERT_TRUE(ExecuteScript(shell()->web_contents(), "run();")); |
+ ASSERT_TRUE(ExecuteScript(shell(), "run();")); |
TestNavigationObserver navigation_observer(shell()->web_contents(), 1); |
navigation_observer.Wait(); |