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

Unified Diff: content/renderer/media/html_video_element_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
Index: content/renderer/media/html_video_element_capturer_source.cc
diff --git a/content/renderer/media/html_video_element_capturer_source.cc b/content/renderer/media/html_video_element_capturer_source.cc
index 3df3ea40422c33654f45cb561ab86f606c9ab699..738f741157f10cb685c148a3573daac06f044401 100644
--- a/content/renderer/media/html_video_element_capturer_source.cc
+++ b/content/renderer/media/html_video_element_capturer_source.cc
@@ -62,10 +62,10 @@ void HtmlVideoElementCapturerSource::GetCurrentSupportedFormats(
int max_requested_height,
double max_requested_frame_rate,
const VideoCaptureDeviceFormatsCB& callback) {
- DVLOG(3) << __FUNCTION__ << "{ max_requested_height = "
- << max_requested_height << "}) { max_requested_width = "
- << max_requested_width << "}) { max_requested_frame_rate = "
- << max_requested_frame_rate << "})";
+ DVLOG(3) << __func__ << "{ max_requested_height = " << max_requested_height
+ << "}) { max_requested_width = " << max_requested_width
+ << "}) { max_requested_frame_rate = " << max_requested_frame_rate
+ << "})";
DCHECK(thread_checker_.CalledOnValidThread());
// WebMediaPlayer has a setRate() but can't be read back.
@@ -84,7 +84,7 @@ void HtmlVideoElementCapturerSource::StartCapture(
const media::VideoCaptureParams& params,
const VideoCaptureDeliverFrameCB& new_frame_callback,
const RunningCallback& running_callback) {
- DVLOG(3) << __FUNCTION__ << " requested "
+ DVLOG(3) << __func__ << " requested "
<< media::VideoCaptureFormat::ToString(params.requested_format);
DCHECK(params.requested_format.IsValid());
DCHECK(thread_checker_.CalledOnValidThread());
@@ -116,7 +116,7 @@ void HtmlVideoElementCapturerSource::StartCapture(
}
void HtmlVideoElementCapturerSource::StopCapture() {
- DVLOG(3) << __FUNCTION__;
+ DVLOG(3) << __func__;
DCHECK(thread_checker_.CalledOnValidThread());
running_callback_.Reset();
new_frame_callback_.Reset();
@@ -124,7 +124,7 @@ void HtmlVideoElementCapturerSource::StopCapture() {
}
void HtmlVideoElementCapturerSource::sendNewFrame() {
- DVLOG(3) << __FUNCTION__;
+ DVLOG(3) << __func__;
TRACE_EVENT0("video", "HtmlVideoElementCapturerSource::sendNewFrame");
DCHECK(thread_checker_.CalledOnValidThread());
« no previous file with comments | « content/renderer/media/gpu/rtc_video_decoder_factory.cc ('k') | content/renderer/media/media_permission_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698