Index: Source/core/streams/ReadableStream.idl |
diff --git a/Source/core/streams/ReadableStream.idl b/Source/core/streams/ReadableStream.idl |
index 98b123043d79b27ac09f66980306e47a90ae18a8..5d4a76e1e20fb4c2beae6eb50582c89200019bab 100644 |
--- a/Source/core/streams/ReadableStream.idl |
+++ b/Source/core/streams/ReadableStream.idl |
@@ -8,8 +8,6 @@ |
Exposed=(Window,Worker), |
ActiveDOMObject, |
] interface ReadableStream { |
- [CallWith=ScriptState] Promise cancel(any reason); |
[RaisesException] ReadableStreamReader getReader(); |
- |
- [CallWith=ScriptState] readonly attribute Promise closed; |
+ [CallWith=ScriptState] Promise<void> cancel(any reason); |
}; |