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

Unified Diff: Source/modules/webaudio/GainNode.h

Issue 135653002: Update modules classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to web/ Created 6 years, 11 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: Source/modules/webaudio/GainNode.h
diff --git a/Source/modules/webaudio/GainNode.h b/Source/modules/webaudio/GainNode.h
index 361f581a040c501682a73be0fe89bd3003aeb889..8f93c7ac9a5e92c25db5ef2eb29f22e84cc5dce5 100644
--- a/Source/modules/webaudio/GainNode.h
+++ b/Source/modules/webaudio/GainNode.h
@@ -37,7 +37,7 @@ class AudioContext;
// GainNode is an AudioNode with one input and one output which applies a gain (volume) change to the audio signal.
// De-zippering (smoothing) is applied when the gain value is changed dynamically.
-class GainNode : public AudioNode {
+class GainNode FINAL : public AudioNode {
public:
static PassRefPtr<GainNode> create(AudioContext* context, float sampleRate)
{
@@ -45,11 +45,11 @@ public:
}
// AudioNode
- virtual void process(size_t framesToProcess);
- virtual void reset();
+ virtual void process(size_t framesToProcess) OVERRIDE;
+ virtual void reset() OVERRIDE;
// Called in the main thread when the number of channels for the input may have changed.
- virtual void checkNumberOfChannelsForInput(AudioNodeInput*);
+ virtual void checkNumberOfChannelsForInput(AudioNodeInput*) OVERRIDE;
// JavaScript interface
AudioParam* gain() { return m_gain.get(); }
« no previous file with comments | « Source/modules/webaudio/DynamicsCompressorNode.h ('k') | Source/modules/webaudio/MediaElementAudioSourceNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698