| Index: third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp b/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp
|
| index b9ef96ab2865dce962f52afb8bac12df8de735e9..5f9e6fd9ac2a504598485d172af492c73af4ded0 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp
|
| @@ -78,7 +78,7 @@ static void addReferencesForNodeWithEventListeners(v8::Isolate* isolate, Node* n
|
| Node* V8GCController::opaqueRootForGC(v8::Isolate*, Node* node)
|
| {
|
| ASSERT(node);
|
| - if (node->inDocument()) {
|
| + if (node->inShadowIncludingDocument()) {
|
| Document& document = node->document();
|
| if (HTMLImportsController* controller = document.importsController())
|
| return controller->master();
|
|
|