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

Unified Diff: media/renderers/video_renderer_impl.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/renderers/renderer_impl.cc ('k') | net/http/http_stream_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/renderers/video_renderer_impl.cc
diff --git a/media/renderers/video_renderer_impl.cc b/media/renderers/video_renderer_impl.cc
index 527cf9245f3e6dd377ba3338f7e848275797ae19..5e667a37c101cba9465250c54a3c0e73a141d720 100644
--- a/media/renderers/video_renderer_impl.cc
+++ b/media/renderers/video_renderer_impl.cc
@@ -82,7 +82,7 @@ VideoRendererImpl::~VideoRendererImpl() {
}
void VideoRendererImpl::Flush(const base::Closure& callback) {
- DVLOG(1) << __FUNCTION__;
+ DVLOG(1) << __func__;
DCHECK(task_runner_->BelongsToCurrentThread());
if (sink_started_)
@@ -112,7 +112,7 @@ void VideoRendererImpl::Flush(const base::Closure& callback) {
}
void VideoRendererImpl::StartPlayingFrom(base::TimeDelta timestamp) {
- DVLOG(1) << __FUNCTION__ << "(" << timestamp.InMicroseconds() << ")";
+ DVLOG(1) << __func__ << "(" << timestamp.InMicroseconds() << ")";
DCHECK(task_runner_->BelongsToCurrentThread());
base::AutoLock auto_lock(lock_);
DCHECK_EQ(state_, kFlushed);
@@ -190,7 +190,7 @@ scoped_refptr<VideoFrame> VideoRendererImpl::Render(
(!frames_decoded_ && was_background_rendering_))) {
// Do not set |buffering_state_| here as the lock in FrameReady() may be
// held already and it fire the state changes in the wrong order.
- DVLOG(3) << __FUNCTION__ << " posted TransitionToHaveNothing.";
+ DVLOG(3) << __func__ << " posted TransitionToHaveNothing.";
task_runner_->PostTask(
FROM_HERE, base::Bind(&VideoRendererImpl::TransitionToHaveNothing,
weak_factory_.GetWeakPtr()));
@@ -443,7 +443,7 @@ bool VideoRendererImpl::HaveEnoughData_Locked() {
}
void VideoRendererImpl::TransitionToHaveEnough_Locked() {
- DVLOG(3) << __FUNCTION__;
+ DVLOG(3) << __func__;
DCHECK(task_runner_->BelongsToCurrentThread());
DCHECK_EQ(buffering_state_, BUFFERING_HAVE_NOTHING);
lock_.AssertAcquired();
@@ -455,7 +455,7 @@ void VideoRendererImpl::TransitionToHaveEnough_Locked() {
}
void VideoRendererImpl::TransitionToHaveNothing() {
- DVLOG(3) << __FUNCTION__;
+ DVLOG(3) << __func__;
DCHECK(task_runner_->BelongsToCurrentThread());
base::AutoLock auto_lock(lock_);
« no previous file with comments | « media/renderers/renderer_impl.cc ('k') | net/http/http_stream_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698