| 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 110d6889055c714ad6142f54715767aa6f20163c..d2e5924f5214a552e001bb7cab419b8e1ed9ae40 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| @@ -159,7 +159,7 @@ void BackgroundHTMLParser::updateDocument(const String& decodedData)
|
| m_xssAuditor->setEncoding(encodingData.encoding());
|
| m_loadingTaskRunner->postTask(
|
| BLINK_FROM_HERE,
|
| - threadSafeBind(&HTMLDocumentParser::didReceiveEncodingDataFromBackgroundParser, AllowCrossThreadAccess(m_parser), encodingData));
|
| + threadSafeBind(&HTMLDocumentParser::didReceiveEncodingDataFromBackgroundParser, m_parser, encodingData));
|
| }
|
|
|
| if (decodedData.isEmpty())
|
| @@ -306,7 +306,7 @@ void BackgroundHTMLParser::sendTokensToMainThread()
|
| if (isEmpty) {
|
| m_loadingTaskRunner->postTask(
|
| BLINK_FROM_HERE,
|
| - threadSafeBind(&HTMLDocumentParser::notifyPendingParsedChunks, AllowCrossThreadAccess(m_parser)));
|
| + threadSafeBind(&HTMLDocumentParser::notifyPendingParsedChunks, m_parser));
|
| }
|
|
|
| m_pendingTokens = adoptPtr(new CompactHTMLTokenStream);
|
|
|