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

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: Rebuild DOM and rebase. 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
Index: runtime/embedders/openglui/common/gl.dart
diff --git a/runtime/embedders/openglui/common/gl.dart b/runtime/embedders/openglui/common/gl.dart
index 9322201ed38b55c80162b8736e7b101cd05d3792..e35bb17225047620a1fda018f77d023a0c69dada 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 unsubscribeOnError}) {

Powered by Google App Engine
This is Rietveld 408576698