From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/Modules/webaudio/AudioNodeOutput.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Source/WebCore/Modules/webaudio/AudioNodeOutput.h') diff --git a/Source/WebCore/Modules/webaudio/AudioNodeOutput.h b/Source/WebCore/Modules/webaudio/AudioNodeOutput.h index ece31e4ef..e88a730ef 100644 --- a/Source/WebCore/Modules/webaudio/AudioNodeOutput.h +++ b/Source/WebCore/Modules/webaudio/AudioNodeOutput.h @@ -22,15 +22,13 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef AudioNodeOutput_h -#define AudioNodeOutput_h +#pragma once #include "AudioBus.h" #include "AudioNode.h" #include "AudioParam.h" #include #include -#include namespace WebCore { @@ -47,7 +45,7 @@ public: // Can be called from any thread. AudioNode* node() const { return m_node; } - AudioContext* context() { return m_node->context(); } + AudioContext& context() { return m_node->context(); } // Causes our AudioNode to process if it hasn't already for this render quantum. // It returns the bus containing the processed audio for this output, returning inPlaceBus if in-place processing was possible. @@ -149,5 +147,3 @@ private: }; } // namespace WebCore - -#endif // AudioNodeOutput_h -- cgit v1.2.1