Index: Source/bindings/v8/V8GCController.cpp |
diff --git a/Source/bindings/v8/V8GCController.cpp b/Source/bindings/v8/V8GCController.cpp |
index 76a1f26fa78b59c867e3f8004e54cbc7f0c000ae..14779ed5953c2c0ee2f87ea2e907b989f0b888b9 100644 |
--- a/Source/bindings/v8/V8GCController.cpp |
+++ b/Source/bindings/v8/V8GCController.cpp |
@@ -128,7 +128,7 @@ public: |
// Note that node->wrapper().IsEmpty() returns true for nodes that |
// do not have wrappers in the main world. |
if (node->containsWrapper()) { |
- WrapperTypeInfo* type = toWrapperTypeInfo(*wrapper); |
+ const WrapperTypeInfo* type = toWrapperTypeInfo(*wrapper); |
ActiveDOMObject* activeDOMObject = type->toActiveDOMObject(*wrapper); |
if (activeDOMObject && activeDOMObject->hasPendingActivity()) |
return; |
@@ -245,7 +245,7 @@ public: |
if (value->IsIndependent()) |
return; |
- WrapperTypeInfo* type = toWrapperTypeInfo(*wrapper); |
+ const WrapperTypeInfo* type = toWrapperTypeInfo(*wrapper); |
void* object = toNative(*wrapper); |
if (V8MessagePort::wrapperTypeInfo.equals(type)) { |