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

Unified Diff: client/dom/generated/src/wrapping/_AudioContextWrappingImplementation.dart

Issue 9539003: Safely wrap window.top in frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and merge Created 8 years, 10 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
Index: client/dom/generated/src/wrapping/_AudioContextWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_AudioContextWrappingImplementation.dart b/client/dom/generated/src/wrapping/_AudioContextWrappingImplementation.dart
index e63db66957732e5a1fb1d2387f26d7a646593a8b..c9bb500159049324581ddbbf37b5d133fc953c7d 100644
--- a/client/dom/generated/src/wrapping/_AudioContextWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_AudioContextWrappingImplementation.dart
@@ -124,16 +124,10 @@ class _AudioContextWrappingImplementation extends DOMWrapperBase implements Audi
static WaveShaperNode _createWaveShaper(receiver) native;
void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallback, [AudioBufferCallback errorCallback = null]) {
- if (errorCallback === null) {
- _decodeAudioData(this, audioData, successCallback);
- return;
- } else {
- _decodeAudioData_2(this, audioData, successCallback, errorCallback);
- return;
- }
+ _decodeAudioData(this, audioData, successCallback, errorCallback);
+ return;
}
- static void _decodeAudioData(receiver, audioData, successCallback) native;
- static void _decodeAudioData_2(receiver, audioData, successCallback, errorCallback) native;
+ static void _decodeAudioData(receiver, audioData, successCallback, errorCallback) native;
void startRendering() {
_startRendering(this);

Powered by Google App Engine
This is Rietveld 408576698