Chromium Code Reviews| Index: third_party/WebKit/Source/modules/fetch/Response.cpp |
| diff --git a/third_party/WebKit/Source/modules/fetch/Response.cpp b/third_party/WebKit/Source/modules/fetch/Response.cpp |
| index ff894600ac79c6e57d5f7e3bcb773bbafe773d97..db929b2b42aab02121381826274aae91e6844b5e 100644 |
| --- a/third_party/WebKit/Source/modules/fetch/Response.cpp |
| +++ b/third_party/WebKit/Source/modules/fetch/Response.cpp |
| @@ -24,7 +24,7 @@ |
| #include "modules/fetch/BodyStreamBuffer.h" |
| #include "modules/fetch/DataConsumerHandleUtil.h" |
| #include "modules/fetch/FormDataBytesConsumer.h" |
| -#include "modules/fetch/ReadableStreamDataConsumerHandle.h" |
| +#include "modules/fetch/ReadableStreamBytesConsumer.h" |
|
hiroshige
2016/09/30 06:35:15
nit: is this include needed? (no references to Rea
yhirano
2016/09/30 09:01:02
Done.
|
| #include "modules/fetch/ResponseInit.h" |
| #include "platform/network/EncodedFormData.h" |
| #include "platform/network/HTTPHeaderMap.h" |
| @@ -160,7 +160,7 @@ Response* Response::create(ScriptState* scriptState, ScriptValue bodyValue, cons |
| Response* response = create(scriptState, bodyBuffer, contentType, ResponseInit(init, exceptionState), exceptionState); |
| if (!exceptionState.hadException() && !reader.isEmpty()) { |
| // Add a hidden reference so that the weak persistent in the |
| - // ReadableStreamDataConsumerHandle will be valid as long as the |
| + // ReadableStreamBytesConsumer will be valid as long as the |
| // Response is valid. |
| v8::Local<v8::Value> wrapper = toV8(response, scriptState); |
| if (wrapper.IsEmpty()) { |