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

Unified Diff: content/renderer/media/webaudio_capturer_source.h

Issue 1091093006: Update {virtual,override} to follow C++11 style in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back out some webrtc files. Created 5 years, 8 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/webaudio_capturer_source.h
diff --git a/content/renderer/media/webaudio_capturer_source.h b/content/renderer/media/webaudio_capturer_source.h
index 94e8a8477193ec8d4684a6f62cd4b043e3746fcb..1e682576a0c633bbbd93571adaead7510b59183b 100644
--- a/content/renderer/media/webaudio_capturer_source.h
+++ b/content/renderer/media/webaudio_capturer_source.h
@@ -35,11 +35,11 @@ class WebAudioCapturerSource
// WebAudioDestinationConsumer implementation.
// setFormat() is called early on, so that we can configure the audio track.
- virtual void setFormat(size_t number_of_channels, float sample_rate) override;
+ void setFormat(size_t number_of_channels, float sample_rate) override;
// MediaStreamAudioDestinationNode periodically calls consumeAudio().
// Called on the WebAudio audio thread.
- virtual void consumeAudio(const blink::WebVector<const float*>& audio_data,
- size_t number_of_frames) override;
+ void consumeAudio(const blink::WebVector<const float*>& audio_data,
+ size_t number_of_frames) override;
// Called when the WebAudioCapturerSource is hooking to a media audio track.
// |track| is the sink of the data flow. |source_provider| is the source of
@@ -52,7 +52,7 @@ class WebAudioCapturerSource
protected:
friend class base::RefCountedThreadSafe<WebAudioCapturerSource>;
- virtual ~WebAudioCapturerSource();
+ ~WebAudioCapturerSource() override;
private:
// Removes this object from a blink::WebMediaStreamSource with which it

Powered by Google App Engine
This is Rietveld 408576698