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

Unified Diff: chrome/test/data/webrtc/video_extraction.js

Issue 10957035: Adapted tests to API change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed video quality test, which will be coming up soon. Created 8 years, 3 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 | « chrome/test/data/webrtc/jsep01_call.js ('k') | chrome/test/data/webrtc/webrtc_video_quality_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webrtc/video_extraction.js
diff --git a/chrome/test/data/webrtc/video_extraction.js b/chrome/test/data/webrtc/video_extraction.js
index 393126d58c7608c247741d2400930ac090f8ed87..fbca37f5ad72c0e53b4c5c9f8608939ed02f6ee6 100644
--- a/chrome/test/data/webrtc/video_extraction.js
+++ b/chrome/test/data/webrtc/video_extraction.js
@@ -8,7 +8,7 @@
* The ID of the video tag from which frames are captured.
* @private
*/
-var gVideoId = 'remote_view';
+var gVideoId = 'remote-view';
/**
* Counts the number of frames that have been captured. Used in timeout
@@ -107,7 +107,7 @@ function startFrameCapture(width, height, canvas_height, frame_rate, duration){
* @return {Canvas}
*/
function capture(video, width, height) {
- var canvas = document.getElementById('remote_canvas');
+ var canvas = document.getElementById('remote-canvas');
var ctx = canvas.getContext('2d');
ctx.drawImage(video, 0, 0, width, height);
return canvas;
« no previous file with comments | « chrome/test/data/webrtc/jsep01_call.js ('k') | chrome/test/data/webrtc/webrtc_video_quality_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698