Index: Source/bindings/tests/results/V8TestNode.cpp |
diff --git a/Source/bindings/tests/results/V8TestNode.cpp b/Source/bindings/tests/results/V8TestNode.cpp |
index e3d9364599a1e6c2e515ed9cab8953952dea3fc8..6d2cf94bf7d0485e374c0dd946b15da0d40a0b76 100644 |
--- a/Source/bindings/tests/results/V8TestNode.cpp |
+++ b/Source/bindings/tests/results/V8TestNode.cpp |
@@ -244,10 +244,10 @@ void V8TestNode::derefObject(ScriptWrappableBase* internalPointer) |
#endif |
} |
-PersistentNode* V8TestNode::createPersistentHandle(ScriptWrappableBase* internalPointer) |
+WrapperPersistentNode* V8TestNode::createPersistentHandle(ScriptWrappableBase* internalPointer) |
{ |
#if ENABLE(OILPAN) |
- return new Persistent<TestNode>(internalPointer->toImpl<TestNode>()); |
+ return WrapperPersistent<TestNode>::create(internalPointer->toImpl<TestNode>()); |
#else |
ASSERT_NOT_REACHED(); |
return 0; |