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

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

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/modules/webaudio/RealtimeAnalyser.h ('k') | Source/modules/webaudio/WaveShaperDSPKernel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/ScriptProcessorNode.h
diff --git a/Source/modules/webaudio/ScriptProcessorNode.h b/Source/modules/webaudio/ScriptProcessorNode.h
index 721d897e91d137f9b25d69b408bbd38ceab03ef5..18d728849717e3494e24b543b72b7cf803c772cb 100644
--- a/Source/modules/webaudio/ScriptProcessorNode.h
+++ b/Source/modules/webaudio/ScriptProcessorNode.h
@@ -44,7 +44,7 @@ class AudioProcessingEvent;
// The "onaudioprocess" attribute is an event listener which will get called periodically with an AudioProcessingEvent which has
// AudioBuffers for each input and output.
-class ScriptProcessorNode FINAL : public AudioNode {
+class ScriptProcessorNode final : public AudioNode {
DEFINE_WRAPPERTYPEINFO();
public:
// bufferSize must be one of the following values: 256, 512, 1024, 2048, 4096, 8192, 16384.
@@ -56,23 +56,23 @@ public:
virtual ~ScriptProcessorNode();
// AudioNode
- virtual void dispose() OVERRIDE;
- virtual void process(size_t framesToProcess) OVERRIDE;
- virtual void initialize() OVERRIDE;
- virtual void uninitialize() OVERRIDE;
+ virtual void dispose() override;
+ virtual void process(size_t framesToProcess) override;
+ virtual void initialize() override;
+ virtual void uninitialize() override;
size_t bufferSize() const { return m_bufferSize; }
- virtual void setChannelCount(unsigned long, ExceptionState&) OVERRIDE;
- virtual void setChannelCountMode(const String&, ExceptionState&) OVERRIDE;
+ virtual void setChannelCount(unsigned long, ExceptionState&) override;
+ virtual void setChannelCountMode(const String&, ExceptionState&) override;
DEFINE_ATTRIBUTE_EVENT_LISTENER(audioprocess);
void trace(Visitor*);
private:
- virtual double tailTime() const OVERRIDE;
- virtual double latencyTime() const OVERRIDE;
+ virtual double tailTime() const override;
+ virtual double latencyTime() const override;
ScriptProcessorNode(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels);
« no previous file with comments | « Source/modules/webaudio/RealtimeAnalyser.h ('k') | Source/modules/webaudio/WaveShaperDSPKernel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698