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

Unified Diff: sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate

Issue 11358135: Some changes to improve precision of types in dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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/html/templates/html/impl/impl_CanvasElement.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate
diff --git a/sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate b/sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate
index 45d337bbd96736ba74c5150c5010e1bb1c9903ff..3bca460622e00c3d6e665375c99f0271803f3fe7 100644
--- a/sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate
@@ -62,7 +62,7 @@ $if DARTIUM
static _add(m, String key, value) { m[key] = value; }
static _fixupList(list) => list;
- _call(Node target, options) {
+ void _call(Node target, options) {
_observe(target, options);
}
$endif
@@ -73,6 +73,6 @@ $if DART2JS
static _fixupList(list) => list; // TODO: Ensure is a JavaScript Array.
// Call native function with no conversions.
- _call(target, options) native 'observe';
+ void _call(target, options) native 'observe';
$endif
}
« no previous file with comments | « sdk/lib/html/templates/html/impl/impl_CanvasElement.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698