Index: Source/bindings/core/v8/V8PerIsolateData.cpp |
diff --git a/Source/bindings/core/v8/V8PerIsolateData.cpp b/Source/bindings/core/v8/V8PerIsolateData.cpp |
index 4fdc745afbab18033b9f98ac8c0a0d9a56d8da1c..3cdd96b07dea8f5a9edde37777d4e060e715b86c 100644 |
--- a/Source/bindings/core/v8/V8PerIsolateData.cpp |
+++ b/Source/bindings/core/v8/V8PerIsolateData.cpp |
@@ -205,23 +205,23 @@ bool V8PerIsolateData::hasInstance(const WrapperTypeInfo* info, v8::Handle<v8::V |
return templ->HasInstance(value); |
} |
-v8::Handle<v8::Object> V8PerIsolateData::findInstanceInPrototypeChain(const WrapperTypeInfo* info, v8::Handle<v8::Value> value) |
+v8::Local<v8::Object> V8PerIsolateData::findInstanceInPrototypeChain(const WrapperTypeInfo* info, v8::Local<v8::Value> value) |
{ |
- v8::Handle<v8::Object> wrapper = findInstanceInPrototypeChain(info, value, m_domTemplateMapForMainWorld); |
+ v8::Local<v8::Object> wrapper = findInstanceInPrototypeChain(info, value, m_domTemplateMapForMainWorld); |
if (!wrapper.IsEmpty()) |
return wrapper; |
return findInstanceInPrototypeChain(info, value, m_domTemplateMapForNonMainWorld); |
} |
-v8::Handle<v8::Object> V8PerIsolateData::findInstanceInPrototypeChain(const WrapperTypeInfo* info, v8::Handle<v8::Value> value, DOMTemplateMap& domTemplateMap) |
+v8::Local<v8::Object> V8PerIsolateData::findInstanceInPrototypeChain(const WrapperTypeInfo* info, v8::Local<v8::Value> value, DOMTemplateMap& domTemplateMap) |
{ |
if (value.IsEmpty() || !value->IsObject()) |
- return v8::Handle<v8::Object>(); |
+ return v8::Local<v8::Object>(); |
DOMTemplateMap::iterator result = domTemplateMap.find(info); |
if (result == domTemplateMap.end()) |
- return v8::Handle<v8::Object>(); |
- v8::Handle<v8::FunctionTemplate> templ = result->value.Get(isolate()); |
- return v8::Handle<v8::Object>::Cast(value)->FindInstanceInPrototypeChain(templ); |
+ return v8::Local<v8::Object>(); |
+ v8::Local<v8::FunctionTemplate> templ = result->value.Get(isolate()); |
+ return v8::Local<v8::Object>::Cast(value)->FindInstanceInPrototypeChain(templ); |
} |
static void constructorOfToString(const v8::FunctionCallbackInfo<v8::Value>& info) |