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

Unified Diff: media/ffmpeg/ffmpeg_common.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 | « media/cdm/cdm_adapter.cc ('k') | media/filters/audio_timestamp_validator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/ffmpeg/ffmpeg_common.cc
diff --git a/media/ffmpeg/ffmpeg_common.cc b/media/ffmpeg/ffmpeg_common.cc
index bfa52a28a8a16d61a0bafc31d3198f9b61dea8f6..b9cade0c97d48b77f813e8ffc591071ac1f9529c 100644
--- a/media/ffmpeg/ffmpeg_common.cc
+++ b/media/ffmpeg/ffmpeg_common.cc
@@ -370,7 +370,7 @@ bool AVCodecContextToAudioDecoderConfig(
// AVStream occasionally has invalid extra data. See http://crbug.com/517163
if ((codec_context->extradata_size == 0) !=
(codec_context->extradata == nullptr)) {
- LOG(ERROR) << __FUNCTION__
+ LOG(ERROR) << __func__
<< (codec_context->extradata == nullptr ? " NULL" : " Non-NULL")
<< " extra data cannot have size of "
<< codec_context->extradata_size << ".";
@@ -520,7 +520,7 @@ bool AVStreamToVideoDecoderConfig(const AVStream* stream,
// AVStream occasionally has invalid extra data. See http://crbug.com/517163
if ((stream->codec->extradata_size == 0) !=
(stream->codec->extradata == nullptr)) {
- LOG(ERROR) << __FUNCTION__
+ LOG(ERROR) << __func__
<< (stream->codec->extradata == nullptr ? " NULL" : " Non-Null")
<< " extra data cannot have size of "
<< stream->codec->extradata_size << ".";
« no previous file with comments | « media/cdm/cdm_adapter.cc ('k') | media/filters/audio_timestamp_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698