Index: third_party/WebKit/Source/core/dom/DocumentParser.h |
diff --git a/third_party/WebKit/Source/core/dom/DocumentParser.h b/third_party/WebKit/Source/core/dom/DocumentParser.h |
index 6fed8597eeaee1ed27815dba88637bf30a644946..3362c21eba50e63cb6ab57396f0f22cfd468ae44 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentParser.h |
+++ b/third_party/WebKit/Source/core/dom/DocumentParser.h |
@@ -86,6 +86,10 @@ public: |
// Oilpan: We don't need to call detach when a Document is destructed. |
virtual void detach(); |
+ // Notifies the parser that the document element is available. Used by |
+ // HTMLDocumentParser to dispatch preloads. |
+ virtual void documentElementAvailable() { } |
+ |
void setDocumentWasLoadedAsPartOfNavigation() { m_documentWasLoadedAsPartOfNavigation = true; } |
bool documentWasLoadedAsPartOfNavigation() const { return m_documentWasLoadedAsPartOfNavigation; } |