Index: Source/bindings/core/v8/WrapperTypeInfo.h |
diff --git a/Source/bindings/core/v8/WrapperTypeInfo.h b/Source/bindings/core/v8/WrapperTypeInfo.h |
index ee3b098ce79bf9d33be3b1c733619a78cfead8e2..8bd8d644313a3debd67f2121ffd9048088817702 100644 |
--- a/Source/bindings/core/v8/WrapperTypeInfo.h |
+++ b/Source/bindings/core/v8/WrapperTypeInfo.h |
@@ -127,10 +127,10 @@ struct WrapperTypeInfo { |
void refObject(ScriptWrappable* scriptWrappable) const |
{ |
if (gcType == GarbageCollectedObject) { |
- ThreadState::current()->persistentAllocated(); |
+ ThreadState::current()->wrapperAllocated(); |
} else if (gcType == WillBeGarbageCollectedObject) { |
#if ENABLE(OILPAN) |
- ThreadState::current()->persistentAllocated(); |
+ ThreadState::current()->wrapperAllocated(); |
#endif |
} |
ASSERT(refObjectFunction); |
@@ -140,10 +140,10 @@ struct WrapperTypeInfo { |
void derefObject(ScriptWrappable* scriptWrappable) const |
{ |
if (gcType == GarbageCollectedObject) { |
- ThreadState::current()->persistentFreed(); |
+ ThreadState::current()->wrapperFreed(); |
} else if (gcType == WillBeGarbageCollectedObject) { |
#if ENABLE(OILPAN) |
- ThreadState::current()->persistentFreed(); |
+ ThreadState::current()->wrapperFreed(); |
#endif |
} |
ASSERT(derefObjectFunction); |