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

Unified Diff: content/renderer/media/audio_track_recorder.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/audio_track_recorder.cc
diff --git a/content/renderer/media/audio_track_recorder.cc b/content/renderer/media/audio_track_recorder.cc
index 5d5e75235fa41b8f1351700c40a8b846f220888e..11a77b10a7fae862c908e1b42b6ea995c65ef860 100644
--- a/content/renderer/media/audio_track_recorder.cc
+++ b/content/renderer/media/audio_track_recorder.cc
@@ -161,7 +161,7 @@ AudioTrackRecorder::AudioEncoder::~AudioEncoder() {
void AudioTrackRecorder::AudioEncoder::OnSetFormat(
const media::AudioParameters& input_params) {
- DVLOG(1) << __FUNCTION__;
+ DVLOG(1) << __func__;
DCHECK(encoder_thread_checker_.CalledOnValidThread());
if (input_params_.Equals(input_params))
return;
@@ -228,7 +228,7 @@ void AudioTrackRecorder::AudioEncoder::OnSetFormat(
void AudioTrackRecorder::AudioEncoder::EncodeAudio(
std::unique_ptr<media::AudioBus> input_bus,
const base::TimeTicks& capture_time) {
- DVLOG(3) << __FUNCTION__ << ", #frames " << input_bus->frames();
+ DVLOG(3) << __func__ << ", #frames " << input_bus->frames();
DCHECK(encoder_thread_checker_.CalledOnValidThread());
DCHECK_EQ(input_bus->channels(), input_params_.channels());
DCHECK(!capture_time.is_null());
« no previous file with comments | « content/renderer/media/audio_renderer_mixer_manager.cc ('k') | content/renderer/media/canvas_capture_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698