Chromium Code Reviews| 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..591000e1a6d36e6e6bcb0b2b447c21ec5cedafcf 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 textPosition() const; |
|
eseidel
2014/11/12 19:02:14
What does this mean?
abarth-chromium
2014/11/12 21:13:57
It's the position (row and col) that's currently b
|
| 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; } |