summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/webaudio/AudioNodeOutput.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/Modules/webaudio/AudioNodeOutput.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
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