Index: Source/core/html/parser/HTMLParserThread.h |
diff --git a/Source/core/html/parser/HTMLParserThread.h b/Source/core/html/parser/HTMLParserThread.h |
index 21397ea31e9eba679f6562062b13aac622a34420..92763460909d7b7008bd7fd15ae6d44ab597bc17 100644 |
--- a/Source/core/html/parser/HTMLParserThread.h |
+++ b/Source/core/html/parser/HTMLParserThread.h |
@@ -34,6 +34,7 @@ |
#include "platform/WebThreadSupportingGC.h" |
#include "wtf/Functional.h" |
#include "wtf/OwnPtr.h" |
+#include "wtf/PassOwnPtr.h" |
namespace blink { |
@@ -45,7 +46,7 @@ public: |
// It is an error to call shared() before init() or after shutdown(); |
static HTMLParserThread* shared(); |
- void postTask(const Closure&); |
+ void postTask(PassOwnPtr<Closure>); |
blink::WebThread& platformThread(); |
bool isRunning(); |