Index: third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h |
diff --git a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h |
index 85564bb1daa4b99609421fe851e58a9dab58cc1b..b7b73064d1eef5354fd9b8bab5f462a18de50db6 100644 |
--- a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h |
+++ b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h |
@@ -98,7 +98,8 @@ private: |
void sendTokensToMainThread(); |
void updateDocument(const String& decodedData); |
- void runOnMainThread(std::unique_ptr<CrossThreadClosure>); |
+ template <typename FunctionType, typename... Ps> |
+ void runOnMainThread(FunctionType, Ps&&...); |
WeakPtrFactory<BackgroundHTMLParser> m_weakFactory; |
BackgroundHTMLInputStream m_input; |