Index: LayoutTests/media/media-captions-no-controls.html |
diff --git a/LayoutTests/media/media-captions-no-controls.html b/LayoutTests/media/media-captions-no-controls.html |
index 32c6faeb8701b8aa018b00333363e8f248433db6..e72227929e77415a6af12ced586716b32f12203f 100644 |
--- a/LayoutTests/media/media-captions-no-controls.html |
+++ b/LayoutTests/media/media-captions-no-controls.html |
@@ -25,9 +25,9 @@ |
run("video.setAttribute('controls','controls')"); |
testExpected("video.textTracks.length", 1); |
testExpected("video.controls", true); |
- controlsElement = mediaControlsElement(internals.shadowRoot(video).firstChild, "-webkit-media-controls-panel"); |
+ panel = mediaControlsButton(video, "panel"); |
testExpected("internals.shadowRoot(video).firstChild", null, "!="); |
- testExpected("controlsElement.style['display']", 'none', "!="); |
+ testExpected("panel.style['display']", 'none', "!="); |
consoleWrite(""); |
endTest(); |