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

Unified Diff: Source/modules/webaudio/ScriptProcessorNode.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
« no previous file with comments | « Source/modules/webaudio/PannerNode.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 3e1aa7a553593c306612d092b653562bc4925535..db7ff784400b8413e7e09a16b159e23b00ea7f02 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 : public AudioNode {
+class ScriptProcessorNode FINAL : public AudioNode {
public:
// bufferSize must be one of the following values: 256, 512, 1024, 2048, 4096, 8192, 16384.
// This value controls how frequently the onaudioprocess event handler is called and how many sample-frames need to be processed each call.
@@ -55,10 +55,10 @@ public:
virtual ~ScriptProcessorNode();
// AudioNode
- virtual void process(size_t framesToProcess);
- virtual void reset();
- virtual void initialize();
- virtual void uninitialize();
+ virtual void process(size_t framesToProcess) OVERRIDE;
+ virtual void reset() OVERRIDE;
+ virtual void initialize() OVERRIDE;
+ virtual void uninitialize() OVERRIDE;
size_t bufferSize() const { return m_bufferSize; }
« no previous file with comments | « Source/modules/webaudio/PannerNode.h ('k') | Source/modules/webaudio/WaveShaperDSPKernel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698