| Index: third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| index 152defdd0dc07dff6417ef9503560f945bfb48e7..49b3dbea18446ecdd49dc60e213f9f219e3293d8 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| @@ -88,7 +88,7 @@ static void checkThatXSSInfosAreSafeToSendToAnotherThread(
|
|
|
| WeakPtr<BackgroundHTMLParser> BackgroundHTMLParser::create(
|
| std::unique_ptr<Configuration> config,
|
| - std::unique_ptr<WebTaskRunner> loadingTaskRunner) {
|
| + RefPtr<WebTaskRunner> loadingTaskRunner) {
|
| auto* backgroundParser =
|
| new BackgroundHTMLParser(std::move(config), std::move(loadingTaskRunner));
|
| return backgroundParser->m_weakFactory.createWeakPtr();
|
| @@ -109,7 +109,7 @@ BackgroundHTMLParser::Configuration::Configuration()
|
|
|
| BackgroundHTMLParser::BackgroundHTMLParser(
|
| std::unique_ptr<Configuration> config,
|
| - std::unique_ptr<WebTaskRunner> loadingTaskRunner)
|
| + RefPtr<WebTaskRunner> loadingTaskRunner)
|
| : m_weakFactory(this),
|
| m_token(WTF::wrapUnique(new HTMLToken)),
|
| m_tokenizer(HTMLTokenizer::create(config->options)),
|
|
|