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

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

Issue 270103005: Tried to move AudioSummingJuction to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/AudioSummingJunction.h ('k') | Source/modules/webaudio/BiquadFilterNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioSummingJunction.cpp
diff --git a/Source/modules/webaudio/AudioSummingJunction.cpp b/Source/modules/webaudio/AudioSummingJunction.cpp
index 7b7c9360cfee4df6f0a5cdaef923add5904b0628..4adc593e253841c05e03c44b9b5055397d52ac39 100644
--- a/Source/modules/webaudio/AudioSummingJunction.cpp
+++ b/Source/modules/webaudio/AudioSummingJunction.cpp
@@ -44,8 +44,10 @@ AudioSummingJunction::AudioSummingJunction(AudioContext* context)
AudioSummingJunction::~AudioSummingJunction()
{
+#if !ENABLE(OILPAN)
if (m_renderingStateNeedUpdating && m_context.get())
m_context->removeMarkedSummingJunction(this);
+#endif
}
void AudioSummingJunction::changedOutputs()
@@ -77,6 +79,11 @@ void AudioSummingJunction::updateRenderingState()
}
}
+void AudioSummingJunction::trace(Visitor* visitor)
+{
+ visitor->trace(m_context);
+}
+
} // namespace WebCore
#endif // ENABLE(WEB_AUDIO)
« no previous file with comments | « Source/modules/webaudio/AudioSummingJunction.h ('k') | Source/modules/webaudio/BiquadFilterNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698