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

Unified Diff: runtime/embedders/openglui/common/gl.dart

Issue 14251006: Remove AsyncError with Expando. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 8 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 | « runtime/bin/socket_patch.dart ('k') | runtime/lib/isolate_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/embedders/openglui/common/gl.dart
diff --git a/runtime/embedders/openglui/common/gl.dart b/runtime/embedders/openglui/common/gl.dart
index dd380648390ea8b2ee41f83411871518374caba6..c37c80b3cd47877cf6b072456e7c0e3dcdba82b2 100644
--- a/runtime/embedders/openglui/common/gl.dart
+++ b/runtime/embedders/openglui/common/gl.dart
@@ -214,7 +214,7 @@ class _EventStreamSubscription<T extends Event> extends StreamSubscription<T> {
}
/// Has no effect.
- void onError(void handleError(AsyncError error)) {}
+ void onError(void handleError(Object error)) {}
/// Has no effect.
void onDone(void handleDone()) {}
@@ -274,7 +274,7 @@ class _EventStream<T extends Event> extends Stream<T> {
bool get isBroadcast => true;
StreamSubscription<T> listen(void onData(T event),
- { void onError(AsyncError error),
+ { void onError(Object error),
void onDone(),
bool cancelOnError}) {
« no previous file with comments | « runtime/bin/socket_patch.dart ('k') | runtime/lib/isolate_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698