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

Unified Diff: third_party/WebKit/Source/platform/audio/Spatializer.cpp

Issue 2272683003: Remove redundant definition of Spatializer abstract class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix reference URL Created 4 years, 4 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: third_party/WebKit/Source/platform/audio/Spatializer.cpp
diff --git a/third_party/WebKit/Source/platform/audio/Spatializer.cpp b/third_party/WebKit/Source/platform/audio/Spatializer.cpp
deleted file mode 100644
index ff4896c0374ad4e4c6adc8de94dec3f02fd237c7..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/platform/audio/Spatializer.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "platform/audio/Spatializer.h"
-#include "platform/audio/StereoPanner.h"
-#include "wtf/PtrUtil.h"
-#include <memory>
-
-namespace blink {
-
-std::unique_ptr<Spatializer> Spatializer::create(PanningModel model, float sampleRate)
-{
- switch (model) {
- case PanningModelEqualPower:
- return wrapUnique(new StereoPanner(sampleRate));
- default:
- ASSERT_NOT_REACHED();
- return nullptr;
- }
-}
-
-Spatializer::~Spatializer()
-{
-}
-
-} // namespace blink
-
« no previous file with comments | « third_party/WebKit/Source/platform/audio/Spatializer.h ('k') | third_party/WebKit/Source/platform/audio/StereoPanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698