| Index: Source/bindings/templates/interface.cpp
|
| diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp
|
| index a36dcf7e88b6cfe2eb6b1b5fe7f942c716bab3a9..01d6452d6a8de0fa3ebe4d43f702d3a064b11762 100644
|
| --- a/Source/bindings/templates/interface.cpp
|
| +++ b/Source/bindings/templates/interface.cpp
|
| @@ -588,7 +588,7 @@ void {{v8_class}}::visitDOMWrapper(ScriptWrappableBase* internalPointer, const v
|
| {% if reachable_node_function %}
|
| // The {{reachable_node_function}}() method may return a reference or a pointer.
|
| if (Node* owner = WTF::getPtr(impl->{{reachable_node_function}}())) {
|
| - Node* root = V8GCController::opaqueRootForGC(owner, isolate);
|
| + Node* root = V8GCController::opaqueRootForGC(isolate, owner);
|
| isolate->SetReferenceFromGroup(v8::UniqueId(reinterpret_cast<intptr_t>(root)), wrapper);
|
| return;
|
| }
|
|
|