Index: Source/bindings/v8/WrapperTypeInfo.h |
diff --git a/Source/bindings/v8/WrapperTypeInfo.h b/Source/bindings/v8/WrapperTypeInfo.h |
index ca2a583fc5d2140dfa3c1a5b3b9538427f3d8809..dbba09e6f84bade0636bd933394f69f69045aed5 100644 |
--- a/Source/bindings/v8/WrapperTypeInfo.h |
+++ b/Source/bindings/v8/WrapperTypeInfo.h |
@@ -192,7 +192,8 @@ namespace WebCore { |
#if ENABLE(OILPAN) |
if (typeInfo->isGarbageCollected) { |
const PersistentNode* handle = toPersistentHandle(wrapper); |
- ASSERT(handle); |
+ // This will be null iff a wrapper for a hidden wrapper object, |
+ // see V8DOMWrapper::setNativeInfoForHiddenWrapper(). |
delete handle; |
} else { |
ASSERT(typeInfo->derefObjectFunction); |