Index: gin/wrappable.cc |
diff --git a/gin/wrappable.cc b/gin/wrappable.cc |
index 4137609cf917566534cdbe9164e8889b5f59bf55..09c17a3c85dfa8fbadccef236b8be988e7f2e0f5 100644 |
--- a/gin/wrappable.cc |
+++ b/gin/wrappable.cc |
@@ -35,7 +35,7 @@ void WrappableBase::SecondWeakCallback( |
delete wrappable; |
} |
-v8::Handle<v8::Object> WrappableBase::GetWrapperImpl(v8::Isolate* isolate, |
+v8::Local<v8::Object> WrappableBase::GetWrapperImpl(v8::Isolate* isolate, |
WrapperInfo* info) { |
if (!wrapper_.IsEmpty()) { |
return v8::Local<v8::Object>::New(isolate, wrapper_); |
@@ -49,7 +49,7 @@ v8::Handle<v8::Object> WrappableBase::GetWrapperImpl(v8::Isolate* isolate, |
data->SetObjectTemplate(info, templ); |
} |
CHECK_EQ(kNumberOfInternalFields, templ->InternalFieldCount()); |
- v8::Handle<v8::Object> wrapper = templ->NewInstance(); |
+ v8::Local<v8::Object> wrapper = templ->NewInstance(); |
// |wrapper| may be empty in some extreme cases, e.g., when |
// Object.prototype.constructor is overwritten. |
if (wrapper.IsEmpty()) { |
@@ -67,11 +67,11 @@ v8::Handle<v8::Object> WrappableBase::GetWrapperImpl(v8::Isolate* isolate, |
namespace internal { |
-void* FromV8Impl(v8::Isolate* isolate, v8::Handle<v8::Value> val, |
+void* FromV8Impl(v8::Isolate* isolate, v8::Local<v8::Value> val, |
WrapperInfo* wrapper_info) { |
if (!val->IsObject()) |
return NULL; |
- v8::Handle<v8::Object> obj = v8::Handle<v8::Object>::Cast(val); |
+ v8::Local<v8::Object> obj = v8::Local<v8::Object>::Cast(val); |
WrapperInfo* info = WrapperInfo::From(obj); |
// If this fails, the object is not managed by Gin. It is either a normal JS |