Index: tools/perf/page_sets/tough_video_cases/video.html |
diff --git a/tools/perf/page_sets/tough_video_cases/video.html b/tools/perf/page_sets/tough_video_cases/video.html |
index 9bdf2b3d6dd4b2a1c59d9d45e781a912fcc9aa27..6a2113b45174c336e6be42a818f355014f5c3726 100644 |
--- a/tools/perf/page_sets/tough_video_cases/video.html |
+++ b/tools/perf/page_sets/tough_video_cases/video.html |
@@ -45,11 +45,6 @@ |
return mediaSRC; |
} |
- function canvas2dAnimation() { |
- canvasContext.drawImage(testElement, 0, 0, canvasElement.width, canvasElement.height); |
- window.requestAnimationFrame(canvas2dAnimation); |
- } |
- |
qsParams = getQueryStrings(); |
var type = qsParams['type'] || 'video'; |
var testElement = document.createElement(type); |
@@ -60,14 +55,6 @@ |
if (qsParams['id']) |
testElement.id = qsParams['id']; |
testElement.src = getMediaSRC(); |
- if (qsParams['canvas'] && type == 'video') { |
- canvasElement = document.createElement('canvas'); |
- canvasElement.width = 800; |
- canvasElement.height = 450; |
- document.body.appendChild(canvasElement); |
- canvasContext = canvasElement.getContext('2d'); |
- window.requestAnimationFrame(canvas2dAnimation); |
- } |
document.body.appendChild(testElement); |
</script> |
</html> |