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

Unified Diff: lib/compiler/implementation/lib/native_helper.dart

Issue 10887016: Reapply DOMFormData => FormData rename. (this time with a fix for Dartium) (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | lib/dom/dart2js/dom_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/native_helper.dart
===================================================================
--- lib/compiler/implementation/lib/native_helper.dart (revision 11534)
+++ lib/compiler/implementation/lib/native_helper.dart (working copy)
@@ -7,6 +7,7 @@
if (name == 'Window') return 'DOMWindow';
if (name == 'CanvasPixelArray') return 'Uint8ClampedArray';
if (name == 'WebKitMutationObserver') return 'MutationObserver';
+ if (name == 'FormData') return 'DOMFormData';
return name;
}
@@ -16,12 +17,14 @@
if (name == 'Window') return 'DOMWindow';
if (name == 'CanvasPixelArray') return 'Uint8ClampedArray';
if (name == 'WebKitMutationObserver') return 'MutationObserver';
+ if (name == 'FormData') return 'DOMFormData';
return name;
}
String typeNameInOpera(obj) {
String name = JS('String', '#', constructorNameFallback(obj));
if (name == 'Window') return 'DOMWindow';
+ if (name == 'FormData') return 'DOMFormData';
return name;
}
@@ -33,6 +36,7 @@
if (name == 'WorkerMessageEvent') return 'MessageEvent';
if (name == 'DragEvent') return 'MouseEvent';
if (name == 'DataTransfer') return 'Clipboard';
+ if (name == 'FormData') return 'DOMFormData';
return name;
}
@@ -55,6 +59,7 @@
if (name == 'HTMLPhraseElement') return 'HTMLElement';
if (name == 'MSStyleCSSProperties') return 'CSSStyleDeclaration';
if (name == 'MouseWheelEvent') return 'WheelEvent';
+ if (name == 'FormData') return 'DOMFormData';
return name;
}
« no previous file with comments | « no previous file | lib/dom/dart2js/dom_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698