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

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

Issue 2119283002: Use container::back() and container::pop_back() for content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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.cc
diff --git a/content/browser/renderer_host/media/video_capture_controller.cc b/content/browser/renderer_host/media/video_capture_controller.cc
index 721c87e1db20ba6552c79ef6c2d728e5aa23cf24..3a836dd2ff0ed546ed9a165d580a1434ae3b40ee 100644
--- a/content/browser/renderer_host/media/video_capture_controller.cc
+++ b/content/browser/renderer_host/media/video_capture_controller.cc
@@ -179,7 +179,7 @@ void VideoCaptureController::AddClient(
}
// If this is the first client added to the controller, cache the parameters.
- if (!controller_clients_.size())
+ if (controller_clients_.empty())
video_capture_format_ = params.requested_format;
// Signal error in case device is already in error state.

Powered by Google App Engine
This is Rietveld 408576698