| Index: sky/engine/core/dom/Document.h
|
| diff --git a/sky/engine/core/dom/Document.h b/sky/engine/core/dom/Document.h
|
| index d8dbea8174a9c4e57420f0424d779b0cf8fc0e5c..8ac88d09cdf4d56e85f745a4da14dad4667b425a 100644
|
| --- a/sky/engine/core/dom/Document.h
|
| +++ b/sky/engine/core/dom/Document.h
|
| @@ -302,7 +302,7 @@ public:
|
|
|
| DocumentLoadTiming* timing() const;
|
|
|
| - void startParsing();
|
| + DocumentParser* startParsing();
|
| void cancelParsing();
|
|
|
| // close() is the DOM API document.close()
|
| @@ -335,8 +335,7 @@ public:
|
|
|
| CSSStyleSheet& elementSheet();
|
|
|
| - DocumentParser* parser() const { return m_parser.get(); }
|
| - HTMLDocumentParser* scriptableDocumentParser() const;
|
| + TextPosition parserPosition() const;
|
|
|
| enum ReadyState {
|
| Loading,
|
| @@ -638,6 +637,7 @@ private:
|
| void updateRenderTree(StyleRecalcChange);
|
| void updateStyle(StyleRecalcChange);
|
|
|
| + HTMLDocumentParser* scriptableDocumentParser() const;
|
| void detachParser();
|
|
|
| virtual bool isDocument() const override final { return true; }
|
|
|