webkitAudioContext global constructor getter on DOMWindow.idl currently has a [CustomGetter] because the attribute can be disabled at runtime via the WebAudioEnabled setting. We should use the RuntimeTimeEnabled class for this instead of regular settings and use [EnableAtRuntime] extended attribute so that we can automatically generate the global constructor for AudioContext.
Created attachment 202414 [details] Patch
Created attachment 202415 [details] Patch Add missing WEB_AUDIO #ifdef
Comment on attachment 202415 [details] Patch Attachment 202415 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/422238
Created attachment 202419 [details] Patch Export extra symbol to fix mac build.
Comment on attachment 202419 [details] Patch Attachment 202419 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/516206
Created attachment 202425 [details] Patch
Created attachment 202525 [details] Patch Rebase on master due to conflict with Bug 116520.
Comment on attachment 202525 [details] Patch Looks nice refactoring. Looks fine on EFL port side.
Could someone please review this patch? Thanks.
Comment on attachment 202525 [details] Patch r=me
Comment on attachment 202525 [details] Patch Clearing flags on attachment: 202525 Committed r150663: <http://trac.webkit.org/changeset/150663>
All reviewed patches have been landed. Closing bug.