Index: Source/modules/fetch/RequestInit.cpp |
diff --git a/Source/modules/fetch/RequestInit.cpp b/Source/modules/fetch/RequestInit.cpp |
index df34d4aa04bf54468da06c457a30bc6af2d3a771..9c25650472dcfc51362fcd58fa8349d06b3745eb 100644 |
--- a/Source/modules/fetch/RequestInit.cpp |
+++ b/Source/modules/fetch/RequestInit.cpp |
@@ -38,20 +38,20 @@ RequestInit::RequestInit(ExecutionContext* context, const Dictionary& options, E |
OwnPtr<BlobData> blobData = BlobData::create(); |
v8::Isolate* isolate = toIsolate(context); |
if (body->IsArrayBuffer()) { |
- DOMArrayBuffer* arrayBuffer = V8ArrayBuffer::toImpl(v8::Handle<v8::Object>::Cast(body)); |
+ DOMArrayBuffer* arrayBuffer = V8ArrayBuffer::toImpl(v8::Local<v8::Object>::Cast(body)); |
ASSERT(arrayBuffer); |
blobData->appendBytes(arrayBuffer->data(), arrayBuffer->byteLength()); |
} else if (body->IsArrayBufferView()) { |
- DOMArrayBufferView* arrayBufferView = V8ArrayBufferView::toImpl(v8::Handle<v8::Object>::Cast(body)); |
+ DOMArrayBufferView* arrayBufferView = V8ArrayBufferView::toImpl(v8::Local<v8::Object>::Cast(body)); |
ASSERT(arrayBufferView); |
blobData->appendBytes(arrayBufferView->baseAddress(), arrayBufferView->byteLength()); |
} else if (V8Blob::hasInstance(body, isolate)) { |
- Blob* blob = V8Blob::toImpl(v8::Handle<v8::Object>::Cast(body)); |
+ Blob* blob = V8Blob::toImpl(v8::Local<v8::Object>::Cast(body)); |
ASSERT(blob); |
blob->appendTo(*blobData); |
blobData->setContentType(blob->type()); |
} else if (V8FormData::hasInstance(body, isolate)) { |
- DOMFormData* domFormData = V8FormData::toImpl(v8::Handle<v8::Object>::Cast(body)); |
+ DOMFormData* domFormData = V8FormData::toImpl(v8::Local<v8::Object>::Cast(body)); |
ASSERT(domFormData); |
RefPtr<FormData> httpBody = domFormData->createMultiPartFormData(); |
for (size_t i = 0; i < httpBody->elements().size(); ++i) { |