| Index: Source/core/dom/Document.h
|
| diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
|
| index 8512bdd52e7dff453044d5204a900f7dbe332ad8..984cb7a79d26a6f3db6711c1401c66f78042bcd4 100644
|
| --- a/Source/core/dom/Document.h
|
| +++ b/Source/core/dom/Document.h
|
| @@ -1032,6 +1032,11 @@ public:
|
|
|
| CanvasFontCache* canvasFontCache();
|
|
|
| + // Used by unit tests so that all parsing will be main thread for
|
| + // controlling parsing and chunking precisely.
|
| + static void setThreadedParsingEnabledForUnitTestsOnly(bool enabled);
|
| + static bool threadedParsingEnabledForUnitTestsOnly();
|
| +
|
| void incrementNodeCount() { m_nodeCount++; }
|
| void decrementNodeCount()
|
| {
|
|
|