Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: third_party/WebKit/LayoutTests/media/controls-cast-button.html

Issue 2684973004: Remove unnecessary refreshCastButtonVisibility call (Closed)
Patch Set: remove extra blank lines Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/controls-cast-button-narrow.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/controls-cast-button.html
diff --git a/third_party/WebKit/LayoutTests/media/controls-cast-button.html b/third_party/WebKit/LayoutTests/media/controls-cast-button.html
index 5308d5ebde8e0caefee3123152cfe52a345e00a0..87814c6619a01fab4be9613c0658f7b50eefc0eb 100644
--- a/third_party/WebKit/LayoutTests/media/controls-cast-button.html
+++ b/third_party/WebKit/LayoutTests/media/controls-cast-button.html
@@ -43,21 +43,5 @@ async_test(function(t) {
internals.mediaPlayerRemoteRouteAvailabilityChanged(video, false);
assert_equals(button.style.display, "none", "button should not be visible after cast device goes away");
});
-
- function castButton(element) {
- var controlID = "-internal-media-controls-cast-button";
- var button = mediaControlsElement(internals.shadowRoot(element).firstChild, controlID);
- if (!button)
- throw "Failed to find cast button";
- return button;
- }
-
- function overlayCastButton(element) {
- var controlID = "-internal-media-controls-overlay-cast-button";
- var button = mediaControlsElement(internals.shadowRoot(element).firstChild, controlID);
- if (!button)
- throw "Failed to find cast button";
- return button;
- }
});
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/controls-cast-button-narrow.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698