Index: third_party/WebKit/LayoutTests/media/controls/download-button-displays-with-preload-none.html |
diff --git a/third_party/WebKit/LayoutTests/media/controls/download-button-displays-with-preload-none.html b/third_party/WebKit/LayoutTests/media/controls/download-button-displays-with-preload-none.html |
index 910af211b238483f9d4af7feeeb5f3ecac1e7975..89aaad2a8e5b02f06040e9555f464961c2457077 100644 |
--- a/third_party/WebKit/LayoutTests/media/controls/download-button-displays-with-preload-none.html |
+++ b/third_party/WebKit/LayoutTests/media/controls/download-button-displays-with-preload-none.html |
@@ -21,11 +21,5 @@ async_test(function(t) { |
throw 'Failed to find download button'; |
return button; |
} |
- |
- function isVisible(button) { |
- var computedStyle = getComputedStyle(button); |
- return computedStyle.display !== "none" && |
- computedStyle.visibility === "visible"; |
- } |
}); |
</script> |