Index: Source/core/streams/ReadableStream.cpp |
diff --git a/Source/core/streams/ReadableStream.cpp b/Source/core/streams/ReadableStream.cpp |
index 684e1358ad5e7b81c9271b425e3b255884e9ac8b..bce75ca5c44b58824eac4c0081d898ce0d90dbd5 100644 |
--- a/Source/core/streams/ReadableStream.cpp |
+++ b/Source/core/streams/ReadableStream.cpp |
@@ -93,6 +93,11 @@ void ReadableStream::readInternalPostAction() |
callPullIfNeeded(); |
} |
+ScriptPromise ReadableStream::cancel(ScriptState* scriptState) |
+{ |
+ return cancel(scriptState, ScriptValue(scriptState, v8::Undefined(scriptState->isolate()))); |
+} |
tyoshino (SeeGerritForStatus)
2015/03/23 03:57:21
use the same order as .h file
yhirano
2015/03/23 05:47:32
Done by modifying the header.
|
+ |
ScriptPromise ReadableStream::cancel(ScriptState* scriptState, ScriptValue reason) |
{ |
if (m_reader) |