Index: src/extensions/free-buffer-extension.cc |
diff --git a/src/extensions/free-buffer-extension.cc b/src/extensions/free-buffer-extension.cc |
index c2510c9a0ab07782fac38320c3153ed919d7689b..b642b3df3017234e1019bdeddf2642722349e7b5 100644 |
--- a/src/extensions/free-buffer-extension.cc |
+++ b/src/extensions/free-buffer-extension.cc |
@@ -11,16 +11,15 @@ namespace v8 { |
namespace internal { |
-v8::Handle<v8::FunctionTemplate> FreeBufferExtension::GetNativeFunctionTemplate( |
- v8::Isolate* isolate, |
- v8::Handle<v8::String> str) { |
+v8::Local<v8::FunctionTemplate> FreeBufferExtension::GetNativeFunctionTemplate( |
+ v8::Isolate* isolate, v8::Local<v8::String> str) { |
return v8::FunctionTemplate::New(isolate, FreeBufferExtension::FreeBuffer); |
} |
void FreeBufferExtension::FreeBuffer( |
const v8::FunctionCallbackInfo<v8::Value>& args) { |
- v8::Handle<v8::ArrayBuffer> arrayBuffer = args[0].As<v8::ArrayBuffer>(); |
+ v8::Local<v8::ArrayBuffer> arrayBuffer = args[0].As<v8::ArrayBuffer>(); |
v8::ArrayBuffer::Contents contents = arrayBuffer->Externalize(); |
Isolate* isolate = reinterpret_cast<Isolate*>(args.GetIsolate()); |
isolate->array_buffer_allocator()->Free(contents.Data(), |