Index: content/browser/renderer_host/media/video_capture_controller.cc |
diff --git a/content/browser/renderer_host/media/video_capture_controller.cc b/content/browser/renderer_host/media/video_capture_controller.cc |
index 3a836dd2ff0ed546ed9a165d580a1434ae3b40ee..1094773bd2e13deec66c714559f1fca0bb2d6627 100644 |
--- a/content/browser/renderer_host/media/video_capture_controller.cc |
+++ b/content/browser/renderer_host/media/video_capture_controller.cc |
@@ -386,7 +386,7 @@ void VideoCaptureController::DoIncomingCapturedVideoFrameOnIOThread( |
buffer->mapped_size()))) |
<< "VideoFrame does not appear to be backed by Buffer"; |
- for (const auto& client : controller_clients_) { |
+ for (auto* client : controller_clients_) { |
if (client->session_closed || client->paused) |
continue; |
@@ -506,7 +506,7 @@ VideoCaptureController::ControllerClient* VideoCaptureController::FindClient( |
VideoCaptureController::ControllerClient* VideoCaptureController::FindClient( |
int session_id, |
const ControllerClients& clients) { |
- for (auto client : clients) { |
+ for (auto* client : clients) { |
if (client->session_id == session_id) |
return client; |
} |