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

Unified Diff: content/renderer/media/media_stream_video_capturer_source.cc

Issue 2161193003: Use __func__ instead of __FUNCTION__. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync 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
« no previous file with comments | « content/renderer/media/media_recorder_handler.cc ('k') | content/renderer/media/render_media_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_video_capturer_source.cc
diff --git a/content/renderer/media/media_stream_video_capturer_source.cc b/content/renderer/media/media_stream_video_capturer_source.cc
index 9918441ad56abce7b347d16beb32e02cf98d201c..15583dcfc7438eec5444d90885453ab603a86a2f 100644
--- a/content/renderer/media/media_stream_video_capturer_source.cc
+++ b/content/renderer/media/media_stream_video_capturer_source.cc
@@ -169,7 +169,7 @@ void SetContentCaptureParamsFromConstraints(
}
}
- DVLOG(1) << __FUNCTION__ << " "
+ DVLOG(1) << __func__ << " "
<< media::VideoCaptureFormat::ToString(params->requested_format)
<< " with resolution change policy "
<< params->resolution_change_policy;
@@ -312,7 +312,7 @@ void LocalVideoCapturerSource::StartCapture(
}
void LocalVideoCapturerSource::RequestRefreshFrame() {
- DVLOG(3) << __FUNCTION__;
+ DVLOG(3) << __func__;
DCHECK(thread_checker_.CalledOnValidThread());
if (stop_capture_cb_.is_null())
return; // Do not request frames if the source is stopped.
@@ -320,7 +320,7 @@ void LocalVideoCapturerSource::RequestRefreshFrame() {
}
void LocalVideoCapturerSource::StopCapture() {
- DVLOG(3) << __FUNCTION__;
+ DVLOG(3) << __func__;
DCHECK(thread_checker_.CalledOnValidThread());
// Immediately make sure we don't provide more frames.
if (!stop_capture_cb_.is_null())
@@ -331,7 +331,7 @@ void LocalVideoCapturerSource::StopCapture() {
}
void LocalVideoCapturerSource::OnStateUpdate(VideoCaptureState state) {
- DVLOG(3) << __FUNCTION__ << " state = " << state;
+ DVLOG(3) << __func__ << " state = " << state;
DCHECK(thread_checker_.CalledOnValidThread());
if (running_callback_.is_null())
return;
@@ -343,7 +343,7 @@ void LocalVideoCapturerSource::OnStateUpdate(VideoCaptureState state) {
void LocalVideoCapturerSource::OnDeviceFormatsInUseReceived(
const media::VideoCaptureFormats& formats_in_use) {
- DVLOG(3) << __FUNCTION__ << ", #formats received: " << formats_in_use.size();
+ DVLOG(3) << __func__ << ", #formats received: " << formats_in_use.size();
DCHECK(thread_checker_.CalledOnValidThread());
// StopCapture() might have destroyed |formats_enumerated_callback_| before
// arriving here.
@@ -366,7 +366,7 @@ void LocalVideoCapturerSource::OnDeviceFormatsInUseReceived(
void LocalVideoCapturerSource::OnDeviceSupportedFormatsEnumerated(
const media::VideoCaptureFormats& formats) {
- DVLOG(3) << __FUNCTION__ << ", #formats received: " << formats.size();
+ DVLOG(3) << __func__ << ", #formats received: " << formats.size();
DCHECK(thread_checker_.CalledOnValidThread());
// StopCapture() might have destroyed |formats_enumerated_callback_| before
// arriving here.
« no previous file with comments | « content/renderer/media/media_recorder_handler.cc ('k') | content/renderer/media/render_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698