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

Unified Diff: content/renderer/media/render_media_client.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
Index: content/renderer/media/render_media_client.cc
diff --git a/content/renderer/media/render_media_client.cc b/content/renderer/media/render_media_client.cc
index 76001a75d7bd58c273b69609ef7f7c546490f5fd..f88a8fe8524be63286963b2427d78e001ed92e8a 100644
--- a/content/renderer/media/render_media_client.cc
+++ b/content/renderer/media/render_media_client.cc
@@ -31,7 +31,7 @@ RenderMediaClient::~RenderMediaClient() {
void RenderMediaClient::AddKeySystemsInfoForUMA(
std::vector<media::KeySystemInfoForUMA>* key_systems_info_for_uma) {
- DVLOG(2) << __FUNCTION__;
+ DVLOG(2) << __func__;
#if defined(WIDEVINE_CDM_AVAILABLE)
key_systems_info_for_uma->push_back(media::KeySystemInfoForUMA(
kWidevineKeySystem, kWidevineKeySystemNameForUMA));
@@ -39,7 +39,7 @@ void RenderMediaClient::AddKeySystemsInfoForUMA(
}
bool RenderMediaClient::IsKeySystemsUpdateNeeded() {
- DVLOG(2) << __FUNCTION__;
+ DVLOG(2) << __func__;
DCHECK(thread_checker_.CalledOnValidThread());
// Always needs update if we have never updated, regardless the
@@ -67,7 +67,7 @@ bool RenderMediaClient::IsKeySystemsUpdateNeeded() {
void RenderMediaClient::AddSupportedKeySystems(
std::vector<std::unique_ptr<media::KeySystemProperties>>*
key_systems_properties) {
- DVLOG(2) << __FUNCTION__;
+ DVLOG(2) << __func__;
DCHECK(thread_checker_.CalledOnValidThread());
GetContentClient()->renderer()->AddSupportedKeySystems(
« no previous file with comments | « content/renderer/media/media_stream_video_capturer_source.cc ('k') | content/renderer/media/video_track_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698