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}) { |