| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index cc5be9e9394dd98dd44c97a4300cc0809da1ecc8..d8858f0938a827c101f250aa7b02b8afe1611f67 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -339,7 +339,7 @@ static bool acceptsEditingFocus(const Element& element)
|
|
|
| uint64_t Document::s_globalTreeVersion = 0;
|
|
|
| -static bool s_threadedParsingEnabledForUnitTests = true;
|
| +static bool s_threadedParsingEnabledForTesting = true;
|
|
|
| Document::WeakDocumentSet& Document::liveDocumentSet()
|
| {
|
| @@ -2387,7 +2387,7 @@ PassRefPtrWillBeRawPtr<DocumentParser> Document::implicitOpen(ParserSynchronizat
|
|
|
| setCompatibilityMode(NoQuirksMode);
|
|
|
| - if (!threadedParsingEnabledForUnitTestsOnly())
|
| + if (!threadedParsingEnabledForTesting())
|
| parserSyncPolicy = ForceSynchronousParsing;
|
|
|
| m_parserSyncPolicy = parserSyncPolicy;
|
| @@ -5236,14 +5236,14 @@ void Document::adjustFloatRectForScrollAndAbsoluteZoom(FloatRect& rect, LayoutOb
|
| adjustFloatRectForAbsoluteZoom(rect, layoutObject);
|
| }
|
|
|
| -void Document::setThreadedParsingEnabledForUnitTestsOnly(bool enabled)
|
| +void Document::setThreadedParsingEnabledForTesting(bool enabled)
|
| {
|
| - s_threadedParsingEnabledForUnitTests = enabled;
|
| + s_threadedParsingEnabledForTesting = enabled;
|
| }
|
|
|
| -bool Document::threadedParsingEnabledForUnitTestsOnly()
|
| +bool Document::threadedParsingEnabledForTesting()
|
| {
|
| - return s_threadedParsingEnabledForUnitTests;
|
| + return s_threadedParsingEnabledForTesting;
|
| }
|
|
|
| bool Document::hasActiveParser()
|
|
|