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

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

Issue 438293003: Enable Oilpan by default for webaudio/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/modules/webaudio/AudioNodeOutput.h ('k') | Source/modules/webaudio/AudioParam.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioNodeOutput.cpp
diff --git a/Source/modules/webaudio/AudioNodeOutput.cpp b/Source/modules/webaudio/AudioNodeOutput.cpp
index c7f90ac08a188f426d9de39c1cacb9d4d476394b..5bb93ec92cc64920dec20a7cb49c63b6a338f63a 100644
--- a/Source/modules/webaudio/AudioNodeOutput.cpp
+++ b/Source/modules/webaudio/AudioNodeOutput.cpp
@@ -48,18 +48,16 @@ inline AudioNodeOutput::AudioNodeOutput(AudioNode* node, unsigned numberOfChanne
m_internalBus = AudioBus::create(numberOfChannels, AudioNode::ProcessingSizeInFrames);
}
-PassOwnPtrWillBeRawPtr<AudioNodeOutput> AudioNodeOutput::create(AudioNode* node, unsigned numberOfChannels)
+AudioNodeOutput* AudioNodeOutput::create(AudioNode* node, unsigned numberOfChannels)
{
- return adoptPtrWillBeNoop(new AudioNodeOutput(node, numberOfChannels));
+ return new AudioNodeOutput(node, numberOfChannels);
}
void AudioNodeOutput::trace(Visitor* visitor)
{
-#if ENABLE(OILPAN)
visitor->trace(m_node);
visitor->trace(m_inputs);
visitor->trace(m_params);
-#endif
}
void AudioNodeOutput::setNumberOfChannels(unsigned numberOfChannels)
« no previous file with comments | « Source/modules/webaudio/AudioNodeOutput.h ('k') | Source/modules/webaudio/AudioParam.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698