-
jer.noble@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116871 Source/WebCore: Merge: https://chromium.googlesource.com/chromium/blink/+/ef37484162ddb95d677dcfdcdd778ec60590928b Reviewed by Darin Adler. Tests: webaudio/audionode-expected.txt: webaudio/audionode.html: Add the requisite boilerplate to allow AudioNode to become an EventTarget. Remove all that same boilerplate from ScriptProcessorNode now that it's base class is an EventTarget. * Modules/webaudio/AudioNode.cpp: (WebCore::AudioNode::interfaceName): Added boilerplate. (WebCore::AudioNode::scriptExecutionContext): Return the AudioContext's context. (WebCore::AudioNode::processIfNecessary): Whitespace. * Modules/webaudio/AudioNode.h: * Modules/webaudio/AudioNode.idl: Make AudioNode an EventTarget. * Modules/webaudio/ScriptProcessorNode.cpp: Remove EventTarget boilerplate. * Modules/webaudio/ScriptProcessorNode.h: Ditto. * Modules/webaudio/ScriptProcessorNode.idl: Ditto. * dom/EventTarget.h: Mark AudioNode as an EventTarget. * dom/EventTargetFactory.in: Ditto. LayoutTests: Reviewed by Darin Adler. * webaudio/audionode-expected.txt: * webaudio/audionode.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
79da806f