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

Unified Diff: third_party/WebKit/LayoutTests/media/color-profile-video.html

Issue 2938543003: Remove almost all Javascript calls to setColorProfile (Closed)
Patch Set: Created 3 years, 6 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
Index: third_party/WebKit/LayoutTests/media/color-profile-video.html
diff --git a/third_party/WebKit/LayoutTests/media/color-profile-video.html b/third_party/WebKit/LayoutTests/media/color-profile-video.html
index 73172bdd43fb84cf567eda98a37d91cb0d81733e..d3d1ab23a033daef53cdbfb39d1f53c45ea50fe8 100644
--- a/third_party/WebKit/LayoutTests/media/color-profile-video.html
+++ b/third_party/WebKit/LayoutTests/media/color-profile-video.html
@@ -31,15 +31,11 @@ if (window.testRunner) {
window.onload = function() {
if (window.testRunner) {
document.querySelector('video').oncanplaythrough = function() {
- testRunner.setColorProfile('colorSpin', done);
+ setTimeout(function() { testRunner.notifyDone() }, 0);
};
}
setSrcByTagName('video', findMediaFile('video', 'content/test'));
};
-
-function done() {
- setTimeout(function() { testRunner.notifyDone() }, 0);
-}
</script>
</html>

Powered by Google App Engine
This is Rietveld 408576698