Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1135)

Unified Diff: Source/core/html/parser/HTMLParserThread.h

Issue 705003002: Change the return type of WTF::bind() to |OwnPtr<Function>| (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reflect comments from yhirano Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.cpp ('k') | Source/core/html/parser/HTMLParserThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.cpp ('k') | Source/core/html/parser/HTMLParserThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698