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

Unified Diff: tests/html/audiocontext_test.dart

Issue 11358042: Make new audionode names backwards compatible. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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
Index: tests/html/audiocontext_test.dart
===================================================================
--- tests/html/audiocontext_test.dart (revision 14418)
+++ tests/html/audiocontext_test.dart (working copy)
@@ -29,7 +29,7 @@
test('audioRenames', () {
AudioContext context = new AudioContext();
- GainNode gainNode = context.createGainNode();
+ GainNode gainNode = context.createGain();
gainNode.connect(context.destination, 0, 0);
expect(gainNode is GainNode, isTrue);
@@ -38,6 +38,6 @@
expect(context.createChannelSplitter() is ChannelSplitterNode, isTrue);
expect(context.createOscillator() is OscillatorNode, isTrue);
expect(context.createPanner() is PannerNode, isTrue);
- expect(context.createJavaScriptNode(4096) is ScriptProcessorNode, isTrue);
+ expect(context.createScriptProcessor(4096) is ScriptProcessorNode, isTrue);
});
}

Powered by Google App Engine
This is Rietveld 408576698