| Index: third_party/WebKit/Source/core/streams/UnderlyingSourceBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.cpp b/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.cpp
|
| index d1a2c4c925c14d72b3fc8af5ab8ecf54f6d512c7..c293f53bdff084e636d8593db00bf0dad701ba3f 100644
|
| --- a/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.cpp
|
| +++ b/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.cpp
|
| @@ -12,15 +12,12 @@
|
|
|
| namespace blink {
|
|
|
| -ScriptPromise UnderlyingSourceBase::startWrapper(ScriptState* scriptState, ScriptValue stream)
|
| +ScriptPromise UnderlyingSourceBase::startWrapper(ScriptState* scriptState, ScriptValue jsController)
|
| {
|
| // Cannot call start twice (e.g., cannot use the same UnderlyingSourceBase to construct multiple streams)
|
| ASSERT(!m_controller);
|
|
|
| - // In ReadableStream.js, we special-case externally-controlled streams by having them pass themselves to start
|
| - // as the first argument. This allows us to create a ReadableStreamController.
|
| -
|
| - m_controller = new ReadableStreamController(stream);
|
| + m_controller = new ReadableStreamController(jsController);
|
|
|
| return start(scriptState);
|
| }
|
|
|