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

Unified Diff: media/mojo/clients/mojo_renderer_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_renderer.cc ('k') | media/mojo/clients/mojo_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_renderer_unittest.cc
diff --git a/media/mojo/clients/mojo_renderer_unittest.cc b/media/mojo/clients/mojo_renderer_unittest.cc
index d2dadfd63c7860b8eef56a7d2c1a69ca6c72ac60..5dd24721ea0fb4367f749e7640217cc7d2636945 100644
--- a/media/mojo/clients/mojo_renderer_unittest.cc
+++ b/media/mojo/clients/mojo_renderer_unittest.cc
@@ -117,7 +117,7 @@ class MojoRendererTest : public ::testing::Test {
}
void InitializeAndExpect(PipelineStatus status) {
- DVLOG(1) << __FUNCTION__ << ": " << status;
+ DVLOG(1) << __func__ << ": " << status;
EXPECT_CALL(*this, OnInitialized(status));
mojo_renderer_->Initialize(
&demuxer_, &renderer_client_,
@@ -134,7 +134,7 @@ class MojoRendererTest : public ::testing::Test {
}
void Flush() {
- DVLOG(1) << __FUNCTION__;
+ DVLOG(1) << __func__;
// Flush callback should always be fired.
EXPECT_CALL(*this, OnFlushed());
mojo_renderer_->Flush(
@@ -143,7 +143,7 @@ class MojoRendererTest : public ::testing::Test {
}
void SetCdmAndExpect(bool success) {
- DVLOG(1) << __FUNCTION__;
+ DVLOG(1) << __func__;
// Set CDM callback should always be fired.
EXPECT_CALL(*this, OnCdmAttached(success));
mojo_renderer_->SetCdm(
@@ -156,7 +156,7 @@ class MojoRendererTest : public ::testing::Test {
// Note that |mock_renderer_| will also be destroyed, do NOT expect anything
// on it. Otherwise the test will crash.
void ConnectionError() {
- DVLOG(1) << __FUNCTION__;
+ DVLOG(1) << __func__;
DCHECK(renderer_binding_);
renderer_binding_->Close();
base::RunLoop().RunUntilIdle();
« no previous file with comments | « media/mojo/clients/mojo_renderer.cc ('k') | media/mojo/clients/mojo_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698