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; |