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

Unified Diff: media/formats/mp4/box_definitions.cc

Issue 2518403004: media: Use __func__ instead of __FUNCTION__ (Closed)
Patch Set: rebase Created 4 years 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/formats/mp4/avc.cc ('k') | media/formats/mp4/hevc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp4/box_definitions.cc
diff --git a/media/formats/mp4/box_definitions.cc b/media/formats/mp4/box_definitions.cc
index 6743605a66b425e18300b5be2c92f58ae22d5fe6..bac7d488822d452430f3d99c9f20d5ebcf8d6f72 100644
--- a/media/formats/mp4/box_definitions.cc
+++ b/media/formats/mp4/box_definitions.cc
@@ -707,8 +707,7 @@ bool VideoSampleEntry::Parse(BoxReader* reader) {
switch (actual_format) {
case FOURCC_AVC1:
case FOURCC_AVC3: {
- DVLOG(2) << __FUNCTION__
- << " reading AVCDecoderConfigurationRecord (avcC)";
+ DVLOG(2) << __func__ << " reading AVCDecoderConfigurationRecord (avcC)";
std::unique_ptr<AVCDecoderConfigurationRecord> avcConfig(
new AVCDecoderConfigurationRecord());
RCHECK(reader->ReadChild(avcConfig.get()));
@@ -722,8 +721,7 @@ bool VideoSampleEntry::Parse(BoxReader* reader) {
#if BUILDFLAG(ENABLE_HEVC_DEMUXING)
case FOURCC_HEV1:
case FOURCC_HVC1: {
- DVLOG(2) << __FUNCTION__
- << " parsing HEVCDecoderConfigurationRecord (hvcC)";
+ DVLOG(2) << __func__ << " parsing HEVCDecoderConfigurationRecord (hvcC)";
std::unique_ptr<HEVCDecoderConfigurationRecord> hevcConfig(
new HEVCDecoderConfigurationRecord());
RCHECK(reader->ReadChild(hevcConfig.get()));
@@ -737,8 +735,7 @@ bool VideoSampleEntry::Parse(BoxReader* reader) {
case FOURCC_VP09:
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableVp9InMp4)) {
- DVLOG(2) << __FUNCTION__
- << " parsing VPCodecConfigurationRecord (vpcC)";
+ DVLOG(2) << __func__ << " parsing VPCodecConfigurationRecord (vpcC)";
std::unique_ptr<VPCodecConfigurationRecord> vp_config(
new VPCodecConfigurationRecord());
RCHECK(reader->ReadChild(vp_config.get()));
@@ -752,7 +749,7 @@ bool VideoSampleEntry::Parse(BoxReader* reader) {
break;
default:
// Unknown/unsupported format
- MEDIA_LOG(ERROR, reader->media_log()) << __FUNCTION__
+ MEDIA_LOG(ERROR, reader->media_log()) << __func__
<< " unsupported video format "
<< FourCCToString(actual_format);
return false;
« no previous file with comments | « media/formats/mp4/avc.cc ('k') | media/formats/mp4/hevc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698