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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 15820013: Fixing type of ApplicationCache.onProgress. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 7a8c02aa477cfe27d49800654fb404ea7fb8570f..e311aff6334b0aab80480507daaaf7c0ec25d70b 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -249,7 +249,7 @@ class ApplicationCache extends EventTarget native "ApplicationCache,DOMApplicati
@DomName('DOMApplicationCache.progressEvent')
@DocsEditable
- static const EventStreamProvider<Event> progressEvent = const EventStreamProvider<Event>('progress');
+ static const EventStreamProvider<ProgressEvent> progressEvent = const EventStreamProvider<ProgressEvent>('progress');
@DomName('DOMApplicationCache.updatereadyEvent')
@DocsEditable
@@ -338,7 +338,7 @@ class ApplicationCache extends EventTarget native "ApplicationCache,DOMApplicati
@DomName('DOMApplicationCache.onprogress')
@DocsEditable
- Stream<Event> get onProgress => progressEvent.forTarget(this);
+ Stream<ProgressEvent> get onProgress => progressEvent.forTarget(this);
@DomName('DOMApplicationCache.onupdateready')
@DocsEditable
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698