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

Unified Diff: tools/dom/templates/html/impl/impl_HashChangeEvent.darttemplate

Issue 2978213002: Removed DARTIUM codegen for IDLS (sdk/lib/dartium) (Closed)
Patch Set: Update generated darttemplate Created 3 years, 5 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: tools/dom/templates/html/impl/impl_HashChangeEvent.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_HashChangeEvent.darttemplate b/tools/dom/templates/html/impl/impl_HashChangeEvent.darttemplate
index a20c12741cbff3d9acb69739f078337fc7bd9da5..34fb9f409197961e10e37b7217bebe1dbfbf42b2 100644
--- a/tools/dom/templates/html/impl/impl_HashChangeEvent.darttemplate
+++ b/tools/dom/templates/html/impl/impl_HashChangeEvent.darttemplate
@@ -15,13 +15,8 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
'oldURL': oldUrl,
'newURL': newUrl,
};
-$if DART2JS
return JS('HashChangeEvent', 'new HashChangeEvent(#, #)',
type, convertDartToNative_Dictionary(options));
-$else
- return _blink.BlinkHashChangeEvent.instance
- .constructorCallback_2_(type, convertDartToNative_Dictionary(options));
-$endif
}
$!MEMBERS

Powered by Google App Engine
This is Rietveld 408576698