Index: Source/bindings/v8/DOMWrapperMap.h |
diff --git a/Source/bindings/v8/DOMWrapperMap.h b/Source/bindings/v8/DOMWrapperMap.h |
index 963b679bb97598854e198a42bfbef25b540f6ca1..53d0206f319919a6b51d2f803837dcb781d1546b 100644 |
--- a/Source/bindings/v8/DOMWrapperMap.h |
+++ b/Source/bindings/v8/DOMWrapperMap.h |
@@ -121,7 +121,7 @@ private: |
template<> |
inline void DOMWrapperMap<void>::makeWeakCallback(v8::Isolate* isolate, v8::Persistent<v8::Object>* wrapper, DOMWrapperMap<void>* map) |
{ |
- WrapperTypeInfo* type = toWrapperTypeInfo(*wrapper); |
+ const WrapperTypeInfo* type = toWrapperTypeInfo(*wrapper); |
ASSERT(type->derefObjectFunction); |
void* key = static_cast<void*>(toNative(*wrapper)); |
ASSERT(*(map->m_map.get(key).persistent()) == *wrapper); |