Index: Source/bindings/v8/WrapperTypeInfo.h |
diff --git a/Source/bindings/v8/WrapperTypeInfo.h b/Source/bindings/v8/WrapperTypeInfo.h |
index 3839e5b2dcf7f84de1bb6d69aa50f91f7b4c50ed..bcb3d2da3bedfb1d4babb4b0354d0af651f7bfef 100644 |
--- a/Source/bindings/v8/WrapperTypeInfo.h |
+++ b/Source/bindings/v8/WrapperTypeInfo.h |
@@ -60,7 +60,7 @@ namespace WebCore { |
typedef void (*DerefObjectFunction)(void*); |
typedef ActiveDOMObject* (*ToActiveDOMObjectFunction)(v8::Handle<v8::Object>); |
typedef EventTarget* (*ToEventTargetFunction)(v8::Handle<v8::Object>); |
- typedef void* (*OpaqueRootForGC)(void*, v8::Isolate*); |
+ typedef void* (*ResolveWrapperReachabilityFunction)(void*, const v8::Persistent<v8::Object>& wrapper, v8::Isolate*); |
haraken
2013/10/10 06:08:32
ResolveWrapperReachabilityFunction => AddWrapperRe
kouhei (in TOK)
2013/10/10 06:20:02
Ack. Will do this later.
|
typedef void (*InstallPerContextPrototypePropertiesFunction)(v8::Handle<v8::Object>, v8::Isolate*); |
enum WrapperTypePrototype { |
@@ -122,18 +122,18 @@ namespace WebCore { |
return toEventTargetFunction(object); |
} |
- void* opaqueRootForGC(void* object, v8::Isolate* isolate) |
+ void* resolveWrapperReachability(void* object, const v8::Persistent<v8::Object>& wrapper, v8::Isolate* isolate) |
haraken
2013/10/10 06:08:32
resolveWrapperReachability => addWrapperReachabili
kouhei (in TOK)
2013/10/10 06:20:02
Ack. Will do this later.
|
{ |
- if (!opaqueRootForGCFunction) |
+ if (!resolveWrapperReachabilityFunction) |
return object; |
- return opaqueRootForGCFunction(object, isolate); |
+ return resolveWrapperReachabilityFunction(object, wrapper, isolate); |
} |
const GetTemplateFunction getTemplateFunction; |
const DerefObjectFunction derefObjectFunction; |
const ToActiveDOMObjectFunction toActiveDOMObjectFunction; |
const ToEventTargetFunction toEventTargetFunction; |
- const OpaqueRootForGC opaqueRootForGCFunction; |
+ const ResolveWrapperReachabilityFunction resolveWrapperReachabilityFunction; |
const InstallPerContextPrototypePropertiesFunction installPerContextPrototypePropertiesFunction; |
const WrapperTypeInfo* parentClass; |
const WrapperTypePrototype wrapperTypePrototype; |