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

Unified Diff: Source/platform/audio/SincResampler.cpp

Issue 137933002: Update more platform classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/platform/audio/SincResampler.cpp
diff --git a/Source/platform/audio/SincResampler.cpp b/Source/platform/audio/SincResampler.cpp
index 8a37711f0a4eb058e8c7eb637d28d2f3ae07a598..c0414ebbceac9e6f1e85834881aa9943fe34f3de 100644
--- a/Source/platform/audio/SincResampler.cpp
+++ b/Source/platform/audio/SincResampler.cpp
@@ -146,7 +146,7 @@ namespace {
// BufferSourceProvider is an AudioSourceProvider wrapping an in-memory buffer.
-class BufferSourceProvider : public AudioSourceProvider {
+class BufferSourceProvider FINAL : public AudioSourceProvider {
public:
BufferSourceProvider(const float* source, size_t numberOfSourceFrames)
: m_source(source)
@@ -155,7 +155,7 @@ public:
}
// Consumes samples from the in-memory buffer.
- virtual void provideInput(AudioBus* bus, size_t framesToProcess)
+ virtual void provideInput(AudioBus* bus, size_t framesToProcess) OVERRIDE
{
ASSERT(m_source && bus);
if (!m_source || !bus)
« no previous file with comments | « Source/platform/audio/MultiChannelResampler.cpp ('k') | Source/platform/drm/ContentDecryptionModuleSession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698