| 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 3430ea4f517c05f33ea34eeb989aaaafd87cd70e..4307080e5322e2cf88ca3f7319d1d00b7104c6ca 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();
|
|
|