Index: Source/bindings/templates/interface.cpp |
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp |
index 544ec9140e4c028eeb79a8a627a4d9f1ab87ee75..21272949c6b7b700e50c5964237c411e64ed70f4 100644 |
--- a/Source/bindings/templates/interface.cpp |
+++ b/Source/bindings/templates/interface.cpp |
@@ -1246,13 +1246,13 @@ void {{v8_class}}::derefObject(ScriptWrappableBase* internalPointer) |
{% endif %} |
} |
-WrapperPersistentNode* {{v8_class}}::createPersistentHandle(ScriptWrappableBase* internalPointer) |
+PersistentNode* {{v8_class}}::createPersistentHandle(ScriptWrappableBase* internalPointer) |
{ |
{% if gc_type == 'GarbageCollectedObject' %} |
- return new WrapperPersistent<{{cpp_class}}>(internalPointer->toImpl<{{cpp_class}}>()); |
+ return new Persistent<{{cpp_class}}>(internalPointer->toImpl<{{cpp_class}}>()); |
{% elif gc_type == 'WillBeGarbageCollectedObject' %} |
#if ENABLE(OILPAN) |
- return new WrapperPersistent<{{cpp_class}}>(internalPointer->toImpl<{{cpp_class}}>()); |
+ return new Persistent<{{cpp_class}}>(internalPointer->toImpl<{{cpp_class}}>()); |
#else |
ASSERT_NOT_REACHED(); |
return 0; |