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

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

Issue 11696004: Removing noSuchMethod from Element. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/html/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 009a05505f50925a9b4c80dcf3e0a58299e7044f..490a55d8351926b901a01e232a1e280639263689 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -8859,21 +8859,6 @@ abstract class Element extends Node implements ElementTraversal {
*/
var xtag;
- noSuchMethod(InvocationMirror invocation) {
- if (dynamicUnknownElementDispatcher == null) {
- throw new NoSuchMethodError(this, invocation.memberName,
- invocation.positionalArguments,
- invocation.namedArguments);
- } else {
- String hackedName = invocation.memberName;
- if (invocation.isGetter) hackedName = "get:$hackedName";
- if (invocation.isSetter) hackedName = "set:$hackedName";
- return dynamicUnknownElementDispatcher(this,
- hackedName,
- invocation.positionalArguments);
- }
- }
-
Element.internal() : super.internal();
@@ -9166,9 +9151,6 @@ abstract class Element extends Node implements ElementTraversal {
}
-// Temporary dispatch hook to support WebComponents.
-Function dynamicUnknownElementDispatcher;
-
final _START_TAG_REGEXP = new RegExp('<(\\w+)');
class _ElementFactoryProvider {
static final _CUSTOM_PARENT_TAG_MAP = const {
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/html/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698