Index: Source/bindings/core/v8/NPV8Object.cpp |
diff --git a/Source/bindings/core/v8/NPV8Object.cpp b/Source/bindings/core/v8/NPV8Object.cpp |
index 3bc172b11eac7ee134b429745e6814653e10e829..e85cc26480277580a0927a8d618bef693fdd6878 100644 |
--- a/Source/bindings/core/v8/NPV8Object.cpp |
+++ b/Source/bindings/core/v8/NPV8Object.cpp |
@@ -50,10 +50,8 @@ using namespace blink; |
namespace { |
-WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* internalPointer) |
+void trace(Visitor*, ScriptWrappableBase*) |
{ |
- ASSERT_NOT_REACHED(); |
- return 0; |
} |
} // namespace |
@@ -62,7 +60,7 @@ namespace blink { |
const WrapperTypeInfo* npObjectTypeInfo() |
{ |
- static const WrapperTypeInfo typeInfo = { gin::kEmbedderBlink, 0, 0, 0, createPersistentHandle, 0, 0, 0, 0, 0, 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::Dependent, WrapperTypeInfo::RefCountedObject }; |
+ static const WrapperTypeInfo typeInfo = { gin::kEmbedderBlink, 0, 0, 0, trace, 0, 0, 0, 0, 0, 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::Dependent, WrapperTypeInfo::RefCountedObject }; |
return &typeInfo; |
} |