Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp

Issue 1074683002: [bindings] Use Local<> instead of Handle<> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp
diff --git a/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp b/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp
index 75cb2283302732faec75603a5d81bd2fe559cc9b..b0d708abc6785a371b7d9592e564a83e277a4bfa 100644
--- a/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp
+++ b/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp
@@ -120,15 +120,15 @@ bool processBlobParts(v8::Isolate* isolate, v8::Local<v8::Object> blobParts, boo
return false;
if (V8ArrayBuffer::hasInstance(item, isolate)) {
- DOMArrayBuffer* arrayBuffer = V8ArrayBuffer::toImpl(v8::Handle<v8::Object>::Cast(item));
+ DOMArrayBuffer* arrayBuffer = V8ArrayBuffer::toImpl(v8::Local<v8::Object>::Cast(item));
ASSERT(arrayBuffer);
blobData.appendBytes(arrayBuffer->data(), arrayBuffer->byteLength());
} else if (V8ArrayBufferView::hasInstance(item, isolate)) {
- DOMArrayBufferView* arrayBufferView = V8ArrayBufferView::toImpl(v8::Handle<v8::Object>::Cast(item));
+ DOMArrayBufferView* arrayBufferView = V8ArrayBufferView::toImpl(v8::Local<v8::Object>::Cast(item));
ASSERT(arrayBufferView);
blobData.appendBytes(arrayBufferView->baseAddress(), arrayBufferView->byteLength());
} else if (V8Blob::hasInstance(item, isolate)) {
- Blob* blob = V8Blob::toImpl(v8::Handle<v8::Object>::Cast(item));
+ Blob* blob = V8Blob::toImpl(v8::Local<v8::Object>::Cast(item));
ASSERT(blob);
blob->appendTo(blobData);
} else {
« no previous file with comments | « no previous file | Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698