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 67ac81e35d1c0d983528e25d022c17404db8ee3e..23c388431fa374eab5110caebf684202a4b4b2cc 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.h |
+++ b/third_party/WebKit/Source/core/dom/Document.h |
@@ -674,8 +674,10 @@ class CORE_EXPORT Document : public ContainerNode, |
} |
bool inNoQuirksMode() const { return m_compatibilityMode == NoQuirksMode; } |
- enum ReadyState { Loading, Interactive, Complete }; |
- void setReadyState(ReadyState); |
+ // https://html.spec.whatwg.org/multipage/dom.html#documentreadystate |
+ enum DocumentReadyState { Loading, Interactive, Complete }; |
+ |
+ void setReadyState(DocumentReadyState); |
bool isLoadCompleted(); |
enum ParsingState { Parsing, InDOMContentLoaded, FinishedParsing }; |
@@ -1512,7 +1514,8 @@ class CORE_EXPORT Document : public ContainerNode, |
const Member<VisitedLinkState> m_visitedLinkState; |
bool m_visuallyOrdered; |
- ReadyState m_readyState; |
+ |
+ DocumentReadyState m_readyState; |
ParsingState m_parsingState; |
bool m_gotoAnchorNeededAfterStylesheetsLoad; |