| Index: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
|
| index 7908a5d662ad1803203fed61efc3a9c9597b5b0d..22a7b2c3460f4f538969c9386f73956e55e41959 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
|
| @@ -56,8 +56,8 @@
|
| #include "public/platform/WebLoadingBehaviorFlag.h"
|
| #include "public/platform/WebScheduler.h"
|
| #include "public/platform/WebThread.h"
|
| +#include "wtf/AutoReset.h"
|
| #include "wtf/PtrUtil.h"
|
| -#include "wtf/TemporaryChange.h"
|
| #include <memory>
|
|
|
| namespace blink {
|
| @@ -416,7 +416,7 @@ void HTMLDocumentParser::discardSpeculationsAndResumeFrom(std::unique_ptr<Parsed
|
| size_t HTMLDocumentParser::processParsedChunkFromBackgroundParser(std::unique_ptr<ParsedChunk> popChunk)
|
| {
|
| TRACE_EVENT_WITH_FLOW0("blink,loading", "HTMLDocumentParser::processParsedChunkFromBackgroundParser", popChunk.get(), TRACE_EVENT_FLAG_FLOW_IN);
|
| - TemporaryChange<bool> hasLineNumber(m_isParsingAtLineNumber, true);
|
| + AutoReset<bool> hasLineNumber(&m_isParsingAtLineNumber, true);
|
|
|
| ASSERT_WITH_SECURITY_IMPLICATION(m_pumpSpeculationsSessionNestingLevel == 1);
|
| ASSERT_WITH_SECURITY_IMPLICATION(!inPumpSession());
|
|
|