X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FLayoutTests%2Fmedia%2Fmedia-controls.js;h=63b9a676ca58ebfdf9e3879c278e25feb6e11848;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=8d68ed4323cc079fec182fa9b96feffdf1e5fb5c;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/LayoutTests/media/media-controls.js b/src/third_party/WebKit/LayoutTests/media/media-controls.js index 8d68ed4..63b9a67 100644 --- a/src/third_party/WebKit/LayoutTests/media/media-controls.js +++ b/src/third_party/WebKit/LayoutTests/media/media-controls.js @@ -88,7 +88,7 @@ function textTrackDisplayElement(parentElement, id, cueNumber) function testClosedCaptionsButtonVisibility(expected) { try { - captionsButtonElement = mediaControlsElement(internals.shadowRoot(mediaElement).firstChild, "-webkit-media-controls-toggle-closed-captions-button"); + captionsButtonElement = mediaControlsButton(mediaElement, "toggle-closed-captions-button"); captionsButtonCoordinates = mediaControlsButtonCoordinates(mediaElement, "toggle-closed-captions-button"); } catch (exception) { consoleWrite("Failed to find a closed captions button or its coordinates: " + exception);