Index: Source/bindings/core/v8/NPV8Object.cpp |
diff --git a/Source/bindings/core/v8/NPV8Object.cpp b/Source/bindings/core/v8/NPV8Object.cpp |
index c694841c0a482a814d55caa565e0e28254ecfc0f..45807962a677a0c5e5dfe556af505ee23357eb29 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; |
} |