Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index adfb661b8196faf2677ef9efd8615914b352df66..1cb26cc9a6f7b61171bb2fcffeead054dfa19794 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -2410,11 +2410,11 @@ void Document::shutdown() { |
// created by DOMImplementation::createDocument(). |
ExecutionContext::notifyContextDestroyed(); |
- // This is required, as our LocalFrame might delete itself as soon as it detaches |
- // us. However, this violates Node::detachLayoutTree() semantics, as it's never |
- // possible to re-attach. Eventually Document::detachLayoutTree() should be renamed, |
- // or this setting of the frame to 0 could be made explicit in each of the |
- // callers of Document::detachLayoutTree(). |
+ // This is required, as our LocalFrame might delete itself as soon as it |
+ // detaches us. However, this violates Node::detachLayoutTree() semantics, as |
+ // it's never possible to re-attach. Eventually Document::detachLayoutTree() |
+ // should be renamed, or this setting of the frame to 0 could be made |
+ // explicit in each of the callers of Document::detachLayoutTree(). |
m_frame = nullptr; |
} |