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 e90928685871fd546157ceffd2e028bdfea775ea..86169ccedb0f7b47a765d9b62384130c9979341a 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(wrapUnique(new HTMLToken)), |
m_tokenizer(HTMLTokenizer::create(config->options)), |