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

Unified Diff: remoting/webapp/crd/js/video_frame_recorder.js

Issue 1015553003: Added more typechecking functions and unit tests for existing code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « remoting/webapp/crd/js/typecheck_unittest.js ('k') | remoting/webapp/js_proto/qunit_proto.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/video_frame_recorder.js
diff --git a/remoting/webapp/crd/js/video_frame_recorder.js b/remoting/webapp/crd/js/video_frame_recorder.js
index 25150699aa922eefd00789b0654004476e6718a7..a5bceb91029c4f8e365325ab4768a1e2df60de4e 100644
--- a/remoting/webapp/crd/js/video_frame_recorder.js
+++ b/remoting/webapp/crd/js/video_frame_recorder.js
@@ -63,8 +63,8 @@ remoting.VideoFrameRecorder.prototype.handleMessage =
return false;
}
- var messageType = getStringAttr(message, 'type');
- var messageData = getStringAttr(message, 'data');
+ var messageType = base.getStringAttr(message, 'type');
+ var messageData = base.getStringAttr(message, 'data');
if (messageType == 'next-frame-reply') {
if (!this.fileWriter_) {
« no previous file with comments | « remoting/webapp/crd/js/typecheck_unittest.js ('k') | remoting/webapp/js_proto/qunit_proto.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698