Index: LayoutTests/media/video-controls-toggling.html |
diff --git a/LayoutTests/media/video-controls-toggling.html b/LayoutTests/media/video-controls-toggling.html |
index fb1369d9947b11d9cd64e9037156dbba1a6cd26c..644570bc5411c8f3afe1ccced121656fb9a47712 100644 |
--- a/LayoutTests/media/video-controls-toggling.html |
+++ b/LayoutTests/media/video-controls-toggling.html |
@@ -21,7 +21,7 @@ |
function test() |
{ |
- panel = mediaControlsElement(internals.shadowRoot(video).firstChild, "-webkit-media-controls-panel"); |
+ panel = mediaControlsButton(video, "panel"); |
if (window.eventSender) { |
try { |