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

Unified Diff: Source/platform/WebThreadSupportingGC.h

Issue 1134933003: Revert of Remove the concept of a cleanup task (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months 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/modules/webdatabase/DatabaseTracker.cpp ('k') | Source/platform/WebThreadSupportingGC.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/WebThreadSupportingGC.h
diff --git a/Source/platform/WebThreadSupportingGC.h b/Source/platform/WebThreadSupportingGC.h
index 01d7212a99c678caadf09570234335c4e2219e36..f25dbc070935f19d6abe6be8bfcdadbc945e5400 100644
--- a/Source/platform/WebThreadSupportingGC.h
+++ b/Source/platform/WebThreadSupportingGC.h
@@ -16,9 +16,9 @@
namespace blink {
// WebThreadSupportingGC wraps a WebThread and adds support for attaching
-// to and detaching from the Blink GC infrastructure. The initialize method
+// to and detaching from the Blink GC infrastructure. The attachGC method
// must be called during initialization on the WebThread and before the
-// thread allocates any objects managed by the Blink GC. The shutdown
+// thread allocates any objects managed by the Blink GC. The detach GC
// method must be called on the WebThread during shutdown when the thread
// no longer needs to access objects managed by the Blink GC.
class PLATFORM_EXPORT WebThreadSupportingGC final {
@@ -52,8 +52,8 @@
m_thread->removeTaskObserver(observer);
}
- void initialize();
- void shutdown();
+ void attachGC();
+ void detachGC();
WebThread& platformThread() const
{
« no previous file with comments | « Source/modules/webdatabase/DatabaseTracker.cpp ('k') | Source/platform/WebThreadSupportingGC.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698