Index: Source/bindings/v8/V8GCController.cpp |
diff --git a/Source/bindings/v8/V8GCController.cpp b/Source/bindings/v8/V8GCController.cpp |
index 98c755bbfc4fa7d17b8034919fdeb2bee2dad39d..ab880d8dc85fea7a04dbe2adc76ce4d1cb0a6214 100644 |
--- a/Source/bindings/v8/V8GCController.cpp |
+++ b/Source/bindings/v8/V8GCController.cpp |
@@ -75,7 +75,7 @@ Node* V8GCController::opaqueRootForGC(Node* node, v8::Isolate*) |
// Maybe should image elements be active DOM nodes? |
// See https://code.google.com/p/chromium/issues/detail?id=164882 |
if (node->inDocument() || (node->hasTagName(HTMLNames::imgTag) && toHTMLImageElement(node)->hasPendingActivity())) |
- return node->document(); |
+ return &node->document(); |
if (node->isAttributeNode()) { |
Node* ownerElement = toAttr(node)->ownerElement(); |