Index: Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp b/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp |
index 0db628ce0b6fe2dfe2510f1489df8c45bce345d7..1b2ae33f7c19062e8ff367335973e702ee8c2ecc 100644 |
--- a/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp |
@@ -69,7 +69,7 @@ void V8MutationObserver::constructorCustom(const v8::FunctionCallbackInfo<v8::Va |
void V8MutationObserver::visitDOMWrapper(ScriptWrappableBase* internalPointer, const v8::Persistent<v8::Object>& wrapper, v8::Isolate* isolate) |
{ |
- MutationObserver* observer = fromInternalPointer(internalPointer); |
+ MutationObserver* observer = internalPointer->toImpl<MutationObserver>(); |
WillBeHeapHashSet<RawPtrWillBeMember<Node> > observedNodes = observer->getObservedNodes(); |
for (WillBeHeapHashSet<RawPtrWillBeMember<Node> >::iterator it = observedNodes.begin(); it != observedNodes.end(); ++it) { |
v8::UniqueId id(reinterpret_cast<intptr_t>(V8GCController::opaqueRootForGC(*it, isolate))); |