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

Unified Diff: media/mojo/clients/mojo_audio_decoder_unittest.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/mojo/clients/mojo_audio_decoder.cc ('k') | media/mojo/clients/mojo_cdm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_audio_decoder_unittest.cc
diff --git a/media/mojo/clients/mojo_audio_decoder_unittest.cc b/media/mojo/clients/mojo_audio_decoder_unittest.cc
index 2c6b6f34b59c6b3d65036f758f6ec510c9c4e861..0f9f022c2edac2de233be16981ef4e3f4e6876ae 100644
--- a/media/mojo/clients/mojo_audio_decoder_unittest.cc
+++ b/media/mojo/clients/mojo_audio_decoder_unittest.cc
@@ -83,19 +83,19 @@ class MojoAudioDecoderTest : public ::testing::Test {
// running the loop because we cannot run the same loop more than once.
void RunLoop() {
- DVLOG(1) << __FUNCTION__;
+ DVLOG(1) << __func__;
run_loop_.reset(new base::RunLoop());
run_loop_->Run();
}
void RunLoopUntilIdle() {
- DVLOG(1) << __FUNCTION__;
+ DVLOG(1) << __func__;
run_loop_.reset(new base::RunLoop());
run_loop_->RunUntilIdle();
}
void QuitLoop() {
- DVLOG(1) << __FUNCTION__;
+ DVLOG(1) << __func__;
run_loop_->QuitWhenIdle();
}
@@ -120,7 +120,7 @@ class MojoAudioDecoderTest : public ::testing::Test {
}
void InitializeAndExpect(bool success) {
- DVLOG(1) << __FUNCTION__ << ": success=" << success;
+ DVLOG(1) << __func__ << ": success=" << success;
EXPECT_CALL(*this, OnInitialized(success))
.WillOnce(InvokeWithoutArgs(this, &MojoAudioDecoderTest::QuitLoop));
« no previous file with comments | « media/mojo/clients/mojo_audio_decoder.cc ('k') | media/mojo/clients/mojo_cdm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698