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 d5319f453f05869de885768408521d50bf6970f7..204022b10170330c8eb623ebd17d04dec671eae7 100644 |
| --- a/third_party/WebKit/Source/modules/fetch/Response.cpp |
| +++ b/third_party/WebKit/Source/modules/fetch/Response.cpp |
| @@ -13,7 +13,7 @@ |
| #include "bindings/core/v8/V8Binding.h" |
| #include "bindings/core/v8/V8Blob.h" |
| #include "bindings/core/v8/V8FormData.h" |
| -#include "bindings/core/v8/V8HiddenValue.h" |
| +#include "bindings/core/v8/V8PrivateProperty.h" |
| #include "bindings/core/v8/V8URLSearchParams.h" |
| #include "bindings/modules/v8/ByteStringSequenceSequenceOrDictionaryOrHeaders.h" |
| #include "core/dom/DOMArrayBuffer.h" |
| @@ -455,9 +455,8 @@ void Response::refreshBody(ScriptState* scriptState) { |
| return; |
| } |
| DCHECK(response->IsObject()); |
| - V8HiddenValue::setHiddenValue( |
| - scriptState, response.As<v8::Object>(), |
| - V8HiddenValue::internalBodyBuffer(scriptState->isolate()), bodyBuffer); |
| + V8PrivateProperty::getInternalBodyBuffer(scriptState->isolate()) |
| + .set(response.As<v8::Object>(), bodyBuffer); |
|
haraken
2017/03/30 14:04:45
Ditto.
peria
2017/04/04 05:48:58
Acknowledged.
|
| } |
| DEFINE_TRACE(Response) { |