Index: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-onencrypted.html |
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-onencrypted.html b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-onencrypted.html |
index f0bf60a138079383b594f9f2ae49c61642fdc785..d7f6ec5305435330e7c95ae95684b4d97721c8c2 100644 |
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-onencrypted.html |
+++ b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-onencrypted.html |
@@ -18,6 +18,7 @@ |
async_test(function(test) |
{ |
var video = document.getElementById('testVideo'); |
+ var content = '../content/test-encrypted.webm'; |
var onEncrypted = function(event) |
{ |
@@ -32,7 +33,7 @@ |
}; |
waitForEventAndRunStep('encrypted', video, onEncrypted, test); |
- video.src = '../content/test-encrypted.webm'; |
+ video.src = content; |
}, 'encrypted fired on encrypted media file.'); |
</script> |
</body> |