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

Unified Diff: content/renderer/media/webmediaplayer_ms_compositor.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 | « content/renderer/media/webmediaplayer_ms.cc ('k') | content/renderer/media/webrtc_audio_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webmediaplayer_ms_compositor.cc
diff --git a/content/renderer/media/webmediaplayer_ms_compositor.cc b/content/renderer/media/webmediaplayer_ms_compositor.cc
index 42f799e3cf7f60f1c5c2881c182d001fda134330..784f0cfda2b12bab081559c5ea6f09ca6eb86b01 100644
--- a/content/renderer/media/webmediaplayer_ms_compositor.cc
+++ b/content/renderer/media/webmediaplayer_ms_compositor.cc
@@ -182,13 +182,13 @@ base::TimeDelta WebMediaPlayerMSCompositor::GetCurrentTime() {
}
size_t WebMediaPlayerMSCompositor::total_frame_count() const {
- DVLOG(1) << __FUNCTION__ << ", " << total_frame_count_;
+ DVLOG(1) << __func__ << ", " << total_frame_count_;
DCHECK(thread_checker_.CalledOnValidThread());
return total_frame_count_;
}
size_t WebMediaPlayerMSCompositor::dropped_frame_count() const {
- DVLOG(1) << __FUNCTION__ << ", " << dropped_frame_count_;
+ DVLOG(1) << __func__ << ", " << dropped_frame_count_;
DCHECK(thread_checker_.CalledOnValidThread());
return dropped_frame_count_;
}
@@ -299,19 +299,19 @@ bool WebMediaPlayerMSCompositor::HasCurrentFrame() {
}
scoped_refptr<media::VideoFrame> WebMediaPlayerMSCompositor::GetCurrentFrame() {
- DVLOG(3) << __FUNCTION__;
+ DVLOG(3) << __func__;
base::AutoLock auto_lock(current_frame_lock_);
current_frame_used_by_compositor_ = true;
return current_frame_;
}
void WebMediaPlayerMSCompositor::PutCurrentFrame() {
- DVLOG(3) << __FUNCTION__;
+ DVLOG(3) << __func__;
}
scoped_refptr<media::VideoFrame>
WebMediaPlayerMSCompositor::GetCurrentFrameWithoutUpdatingStatistics() {
- DVLOG(3) << __FUNCTION__;
+ DVLOG(3) << __func__;
base::AutoLock auto_lock(current_frame_lock_);
return current_frame_;
}
« no previous file with comments | « content/renderer/media/webmediaplayer_ms.cc ('k') | content/renderer/media/webrtc_audio_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698