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

Unified Diff: tools/dom/scripts/systemnative.py

Issue 291053002: Add additional constructor renames (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 | « sdk/lib/_blink/dartium/_blink_dartium.dart ('k') | tools/dom/src/blink_native_DOMImplementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index 603ec4b81ade095617310ab569210b5be2188acf..0510672736a2d8cba2187fbf42071bbd49666485 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -16,8 +16,12 @@ from systemhtml import js_support_checks, GetCallbackInfo, HTML_LIBRARY_NAMES
# This is an ugly hack to get things working on the M35 roll. Once we
# generate dart:blink from the new scripts, this shouldn't be needed.
_cpp_resolver_string_map = {
- 'XMLHttpRequest_constructorCallback_RESOLVER_STRING_0_':
- 'XMLHttpRequest_constructorCallback_RESOLVER_STRING_1_XMLHttpRequestOptions',
+ # These custom constructors all resolve to a common entry, so choosing any
+ # of the generated strings works.
+ 'Blob_constructorCallback_RESOLVER_STRING_3_Array_DOMString_DOMString':
+ 'Blob_constructorCallback_RESOLVER_STRING_0_',
+ 'XMLHttpRequest_constructorCallback_RESOLVER_STRING_0_':
+ 'XMLHttpRequest_constructorCallback_RESOLVER_STRING_1_XMLHttpRequestOptions',
}
# TODO(vsm): This logic needs to pulled from the source IDL. These tables are
« no previous file with comments | « sdk/lib/_blink/dartium/_blink_dartium.dart ('k') | tools/dom/src/blink_native_DOMImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698