Index: third_party/WebKit/LayoutTests/media/autoplay-whitelisted-scope.html |
diff --git a/third_party/WebKit/LayoutTests/media/autoplay-whitelisted-scope.html b/third_party/WebKit/LayoutTests/media/autoplay-whitelisted-scope.html |
index b69759c1683b2260b1ccb0aecd03d19d63ab8018..e0817e96cc61301a35b37a8d7896909091b965ee 100644 |
--- a/third_party/WebKit/LayoutTests/media/autoplay-whitelisted-scope.html |
+++ b/third_party/WebKit/LayoutTests/media/autoplay-whitelisted-scope.html |
@@ -13,7 +13,7 @@ test(function() { |
"This test only works when run as a layout test!"); |
}, "Prerequisites to running the rest of the tests"); |
-window.internals.settings.setMediaPlaybackRequiresUserGesture(true); |
+window.internals.settings.setAutoplayPolicy('user-gesture-required'); |
window.internals.settings.setMediaPlaybackGestureWhitelistScope( |
document.URL.substring(0, document.URL.lastIndexOf('/') + 1) |
); |