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

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

Issue 2318913002: Rename Document::attach/detachLayoutTree to Document::initialize/shutdown (Closed)
Patch Set: temp Created 4 years, 3 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.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index d641d2076d6b54f2eca18e4a68df8338b47f539b..d5dfe666737f42368e7861b671d264ae4500fb3d 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -470,8 +470,17 @@ public:
ResourceFetcher* fetcher() { return m_fetcher.get(); }
- void attachLayoutTree(const AttachContext& = AttachContext()) override;
- void detachLayoutTree(const AttachContext& = AttachContext()) override;
+ void initialize();
+ virtual void shutdown();
+
+ void attachLayoutTree(const AttachContext& = AttachContext()) override
+ {
+ NOTREACHED();
+ }
+ void detachLayoutTree(const AttachContext& = AttachContext()) override
+ {
+ NOTREACHED();
+ }
// If you have a Document, use layoutView() instead which is faster.
void layoutObject() const = delete;

Powered by Google App Engine
This is Rietveld 408576698