Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2393803004: blink: Enforce comment formatting (except in core/layout, for now) (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698