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

Unified Diff: lib/html/dartium/html_dartium.dart

Issue 11231074: Change signature of noSuchMethod to take an InvocationMirror. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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:
Download patch
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index 53ba26f3225eb1e367cfcd9b9ce03e42e21747ef..1ac6e28504b6dce78a9309640c272dbac6271d10 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -13411,9 +13411,11 @@ class _ElementImpl extends _NodeImpl implements Element {
// Hooks to support custom WebComponents.
var xtag;
- noSuchMethod(String name, List args) {
+ noSuchMethod(InvocationMirror invocation) {
if (dynamicUnknownElementDispatcher == null) {
- throw new NoSuchMethodError(this, name, args);
+ throw new NoSuchMethodError(this, invocation.methodName,
+ invocation.positionalArguments,
+ invocation.namedArguments);
} else {
return dynamicUnknownElementDispatcher(this, name, args);
}

Powered by Google App Engine
This is Rietveld 408576698