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

Unified Diff: media/formats/webm/webm_cluster_parser.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/filters/source_buffer_stream.cc ('k') | media/muxers/webm_muxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/webm/webm_cluster_parser.cc
diff --git a/media/formats/webm/webm_cluster_parser.cc b/media/formats/webm/webm_cluster_parser.cc
index 64ed5e0629546eb04e90f463e28a8856847db552..c9b85b242415566ccfc0ed68356be39f195b0b4e 100644
--- a/media/formats/webm/webm_cluster_parser.cc
+++ b/media/formats/webm/webm_cluster_parser.cc
@@ -563,7 +563,7 @@ bool WebMClusterParser::OnBlock(bool is_simple_block,
DCHECK(encoded_duration > base::TimeDelta());
buffer->set_duration(encoded_duration);
- DVLOG(3) << __FUNCTION__ << " : "
+ DVLOG(3) << __func__ << " : "
<< "Using encoded duration " << encoded_duration.InSecondsF();
if (block_duration_time_delta != kNoTimestamp) {
@@ -633,7 +633,7 @@ void WebMClusterParser::Track::ExtractReadyBuffers(
if (buffers_.back()->GetDecodeTimestamp() < before_timestamp) {
// All of |buffers_| are ready.
ready_buffers_.swap(buffers_);
- DVLOG(3) << __FUNCTION__ << " : " << track_num_ << " All "
+ DVLOG(3) << __func__ << " : " << track_num_ << " All "
<< ready_buffers_.size() << " are ready: before upper bound ts "
<< before_timestamp.InSecondsF();
return;
@@ -650,7 +650,7 @@ void WebMClusterParser::Track::ExtractReadyBuffers(
DCHECK(!buffers_.empty());
}
- DVLOG(3) << __FUNCTION__ << " : " << track_num_ << " Only "
+ DVLOG(3) << __func__ << " : " << track_num_ << " Only "
<< ready_buffers_.size() << " ready, " << buffers_.size()
<< " at or after upper bound ts " << before_timestamp.InSecondsF();
}
@@ -714,7 +714,7 @@ void WebMClusterParser::Track::ApplyDurationEstimateIfNeeded() {
"BlockGroups with BlockDurations at the end of each Track in a "
"Cluster to avoid estimation.";
- DVLOG(2) << __FUNCTION__ << " new dur : ts "
+ DVLOG(2) << __func__ << " new dur : ts "
<< last_added_buffer_missing_duration_->timestamp().InSecondsF()
<< " dur "
<< last_added_buffer_missing_duration_->duration().InSecondsF()
@@ -795,9 +795,9 @@ bool WebMClusterParser::Track::QueueBuffer(
base::TimeDelta WebMClusterParser::Track::GetDurationEstimate() {
base::TimeDelta duration = estimated_next_frame_duration_;
if (duration != kNoTimestamp) {
- DVLOG(3) << __FUNCTION__ << " : using estimated duration";
+ DVLOG(3) << __func__ << " : using estimated duration";
} else {
- DVLOG(3) << __FUNCTION__ << " : using hardcoded default duration";
+ DVLOG(3) << __func__ << " : using hardcoded default duration";
if (is_video_) {
duration = base::TimeDelta::FromMilliseconds(
kDefaultVideoBufferDurationInMs);
« no previous file with comments | « media/filters/source_buffer_stream.cc ('k') | media/muxers/webm_muxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698