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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandlerTest.cpp

Issue 1865583002: Implement BaseAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/AudioBasicProcessorHandlerTest.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandlerTest.cpp b/third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandlerTest.cpp
index 612c176aaa28038eaff858ae07335598f0ead425..353ff34948e9d3db7f3f10c02b5a740548da88b3 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandlerTest.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandlerTest.cpp
@@ -25,7 +25,7 @@ public:
class MockProcessorNode final : public AudioNode {
public:
- MockProcessorNode(AbstractAudioContext& context)
+ MockProcessorNode(BaseAudioContext& context)
: AudioNode(context)
{
setHandler(AudioBasicProcessorHandler::create(AudioHandler::NodeTypeWaveShaper, *this, 48000, adoptPtr(new MockAudioProcessor())));
@@ -41,7 +41,7 @@ TEST(AudioBasicProcessorHandlerTest, ProcessorFinalization)
AudioBasicProcessorHandler& handler = static_cast<AudioBasicProcessorHandler&>(node->handler());
EXPECT_TRUE(handler.processor());
EXPECT_TRUE(handler.processor()->isInitialized());
- AbstractAudioContext::AutoLocker locker(context);
+ BaseAudioContext::AutoLocker locker(context);
handler.dispose();
// The AudioProcessor should live after dispose() and should not be
// finalized because an audio thread is using it.

Powered by Google App Engine
This is Rietveld 408576698