| 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 ebf4175d16b92685dbcd040effcfd4b919dcaaf5..cc853f2d196aef2f3e8e23712675e76e72d05312 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp
|
| @@ -74,7 +74,7 @@ static void addReferencesForNodeWithEventListeners(v8::Isolate* isolate, Node* n
|
| Node* V8GCController::opaqueRootForGC(v8::Isolate*, Node* node)
|
| {
|
| ASSERT(node);
|
| - if (node->inShadowIncludingDocument()) {
|
| + if (node->isConnected()) {
|
| Document& document = node->document();
|
| if (HTMLImportsController* controller = document.importsController())
|
| return controller->master();
|
|
|