summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/webaudio/AudioNodeOutput.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/Modules/webaudio/AudioNodeOutput.h')
-rw-r--r--Source/WebCore/Modules/webaudio/AudioNodeOutput.h8
1 files changed, 2 insertions, 6 deletions
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 <wtf/HashSet.h>
#include <wtf/RefPtr.h>
-#include <wtf/Vector.h>
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