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

Unified Diff: content/browser/renderer_host/media/video_capture_controller_event_handler.cc

Issue 7222024: use control message instead of routed for video capture (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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: content/browser/renderer_host/media/video_capture_controller_event_handler.cc
===================================================================
--- content/browser/renderer_host/media/video_capture_controller_event_handler.cc (revision 89543)
+++ content/browser/renderer_host/media/video_capture_controller_event_handler.cc (working copy)
@@ -4,12 +4,11 @@
#include "content/browser/renderer_host/media/video_capture_controller_event_handler.h"
-VideoCaptureControllerID::VideoCaptureControllerID(int32 rid, int did)
- : routing_id(rid),
- device_id(did) {
+VideoCaptureControllerID::VideoCaptureControllerID(int did)
+ : device_id(did) {
}
bool VideoCaptureControllerID::operator<(
const VideoCaptureControllerID& vc) const {
- return this->routing_id < vc.routing_id || this->device_id < vc.device_id;
+ return this->device_id < vc.device_id;
}

Powered by Google App Engine
This is Rietveld 408576698