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

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

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/parser/HTMLParserThread.h ('k') | Source/core/loader/WorkerLoaderClientBridgeSyncHelper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLParserThread.cpp
diff --git a/Source/core/html/parser/HTMLParserThread.cpp b/Source/core/html/parser/HTMLParserThread.cpp
index 865a2341da754d90651b5546b75ba4f96c3d855b..b307c1c48373c044df7db096d81ca10b26e14795 100644
--- a/Source/core/html/parser/HTMLParserThread.cpp
+++ b/Source/core/html/parser/HTMLParserThread.cpp
@@ -94,7 +94,7 @@ bool HTMLParserThread::isRunning()
return !!m_thread;
}
-void HTMLParserThread::postTask(const Closure& closure)
+void HTMLParserThread::postTask(PassOwnPtr<Closure> closure)
{
platformThread().postTask(new Task(closure));
}
« no previous file with comments | « Source/core/html/parser/HTMLParserThread.h ('k') | Source/core/loader/WorkerLoaderClientBridgeSyncHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698