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

Unified Diff: media/base/android/media_codec_loop.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 | « content/renderer/media/media_interface_provider.cc ('k') | media/base/android/media_codec_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_codec_loop.cc
diff --git a/media/base/android/media_codec_loop.cc b/media/base/android/media_codec_loop.cc
index 1c6ce5e59278fc84a8b6a1056c7c00f40ed83049..43acf0af3a01e40d896d618aa9d87f32215b4575 100644
--- a/media/base/android/media_codec_loop.cc
+++ b/media/base/android/media_codec_loop.cc
@@ -142,7 +142,7 @@ bool MediaCodecLoop::ProcessOneInputBuffer() {
}
MediaCodecLoop::InputBuffer MediaCodecLoop::DequeueInputBuffer() {
- DVLOG(2) << __FUNCTION__;
+ DVLOG(2) << __func__;
// Do not dequeue a new input buffer if we failed with MEDIA_CODEC_NO_KEY.
// That status does not return the input buffer back to the pool of
@@ -163,8 +163,7 @@ MediaCodecLoop::InputBuffer MediaCodecLoop::DequeueInputBuffer() {
break;
case media::MEDIA_CODEC_ERROR:
- DLOG(ERROR) << __FUNCTION__
- << ": MEDIA_CODEC_ERROR from DequeInputBuffer";
+ DLOG(ERROR) << __func__ << ": MEDIA_CODEC_ERROR from DequeInputBuffer";
SetState(STATE_ERROR);
break;
@@ -217,8 +216,7 @@ void MediaCodecLoop::EnqueueInputBuffer(const InputBuffer& input_buffer) {
switch (status) {
case MEDIA_CODEC_ERROR:
- DLOG(ERROR) << __FUNCTION__
- << ": MEDIA_CODEC_ERROR from QueueInputBuffer";
+ DLOG(ERROR) << __func__ << ": MEDIA_CODEC_ERROR from QueueInputBuffer";
client_->OnInputDataQueued(false);
// Transition to the error state after running the completion cb, to keep
// it in order if the client chooses to flush its queue.
@@ -303,8 +301,7 @@ bool MediaCodecLoop::ProcessOneOutputBuffer() {
break;
case MEDIA_CODEC_ERROR:
- DLOG(ERROR) << __FUNCTION__
- << ": MEDIA_CODEC_ERROR from DequeueOutputBuffer";
+ DLOG(ERROR) << __func__ << ": MEDIA_CODEC_ERROR from DequeueOutputBuffer";
SetState(STATE_ERROR);
break;
« no previous file with comments | « content/renderer/media/media_interface_provider.cc ('k') | media/base/android/media_codec_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698