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

Unified Diff: Source/modules/webaudio/DynamicsCompressorNodeTest.cpp

Issue 1214463003: Split "Online" and "Offline" AudioContext processing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Bring to ToT Created 5 years, 5 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/DynamicsCompressorNode.cpp ('k') | Source/modules/webaudio/GainNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/DynamicsCompressorNodeTest.cpp
diff --git a/Source/modules/webaudio/DynamicsCompressorNodeTest.cpp b/Source/modules/webaudio/DynamicsCompressorNodeTest.cpp
index f14cea0a7fd18e65a1595de76b9a3f366102c351..b2649173761d0788f6e2df04855b977084b12e94 100644
--- a/Source/modules/webaudio/DynamicsCompressorNodeTest.cpp
+++ b/Source/modules/webaudio/DynamicsCompressorNodeTest.cpp
@@ -6,6 +6,7 @@
#include "modules/webaudio/DynamicsCompressorNode.h"
#include "core/testing/DummyPageHolder.h"
+#include "modules/webaudio/AbstractAudioContext.h"
#include "modules/webaudio/OfflineAudioContext.h"
#include <gtest/gtest.h>
@@ -18,7 +19,7 @@ TEST(DynamicsCompressorNodeTest, ProcessorLifetime)
DynamicsCompressorNode* node = context->createDynamicsCompressor(ASSERT_NO_EXCEPTION);
DynamicsCompressorHandler& handler = node->dynamicsCompressorHandler();
EXPECT_TRUE(handler.m_dynamicsCompressor);
- AudioContext::AutoLocker locker(context);
+ AbstractAudioContext::AutoLocker locker(context);
handler.dispose();
// m_dynamicsCompressor should live after dispose() because an audio thread
// is using it.
« no previous file with comments | « Source/modules/webaudio/DynamicsCompressorNode.cpp ('k') | Source/modules/webaudio/GainNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698