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

Unified Diff: third_party/WebKit/Source/modules/webaudio/StereoPannerNode.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/modules/webaudio/StereoPannerNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp
index b4edd857d1efbbb4c671d5be17d46198f1c38889..d13cfcc3553cd290c3a9ea07d644017edc981935 100644
--- a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp
@@ -75,7 +75,7 @@ void StereoPannerHandler::initialize()
if (isInitialized())
return;
- m_stereoPanner = Spatializer::create(Spatializer::PanningModelEqualPower, sampleRate());
+ m_stereoPanner = StereoPanner::create(sampleRate());
AudioHandler::initialize();
}
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h ('k') | third_party/WebKit/Source/platform/audio/Spatializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698