Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: lib/html/src/dartium_FactoryProviders.dart

Issue 10914175: Fix AudioContext factory constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/src/dartium_FactoryProviders.dart
diff --git a/lib/html/src/dartium_FactoryProviders.dart b/lib/html/src/dartium_FactoryProviders.dart
index 481a4f132371133fcbb7a535001829e16f2221cc..4c5f99142c6b8235acfc59afe82f67db1cc36a9e 100644
--- a/lib/html/src/dartium_FactoryProviders.dart
+++ b/lib/html/src/dartium_FactoryProviders.dart
@@ -4,7 +4,10 @@
class _AudioContextFactoryProvider {
factory AudioContext() => _createAudioContext();
- static _createAudioContext() native "AudioContext_constructor_Callback";
+ static _createAudioContext([int numberOfChannels,
+ int numberOfFrames,
+ int sampleRate])
+ native "AudioContext_constructor_Callback";
}
class _IDBKeyRangeFactoryProvider {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698