| Index: sky/engine/core/html/parser/HTMLElementStack.h
|
| diff --git a/sky/engine/core/html/parser/HTMLElementStack.h b/sky/engine/core/html/parser/HTMLElementStack.h
|
| index 769c7f256d3d5f2f6f71019b42d62d02b767dd72..5d1da783dae1c0197dcb795059ca1e85f70177ec 100644
|
| --- a/sky/engine/core/html/parser/HTMLElementStack.h
|
| +++ b/sky/engine/core/html/parser/HTMLElementStack.h
|
| @@ -71,6 +71,8 @@ public:
|
|
|
| unsigned stackDepth() const { return m_stackDepth; }
|
|
|
| + bool preserveWhiteSpace() const { return m_preserveWhiteSpaceCount; }
|
| +
|
| // Inlining this function is a (small) performance win on the parsing
|
| // benchmark.
|
| Element* top() const
|
| @@ -107,6 +109,7 @@ private:
|
|
|
| ContainerNode* m_rootNode;
|
| unsigned m_stackDepth;
|
| + unsigned m_preserveWhiteSpaceCount;
|
| };
|
|
|
| } // namespace blink
|
|
|