Index: client/dom/frog/dom_frog.dart |
diff --git a/client/dom/frog/dom_frog.dart b/client/dom/frog/dom_frog.dart |
index 66176cee6cd716b2b9c0e92a93c5674971843710..b2b438f8ba3ff628845c030d4ce4291211d65701 100644 |
--- a/client/dom/frog/dom_frog.dart |
+++ b/client/dom/frog/dom_frog.dart |
@@ -26400,7 +26400,10 @@ class _Collections { |
class _AudioContextFactoryProvider { |
- factory AudioContext() native '''return new AudioContext();'''; |
+ factory AudioContext() native ''' |
+ var constructor = window.AudioContext || window.webkitAudioContext; |
+ return new constructor(); |
+'''; |
} |
class _FileReaderFactoryProvider { |