Index: Source/platform/WebThreadSupportingGC.h |
diff --git a/Source/platform/WebThreadSupportingGC.h b/Source/platform/WebThreadSupportingGC.h |
index f25dbc070935f19d6abe6be8bfcdadbc945e5400..01d7212a99c678caadf09570234335c4e2219e36 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 attachGC method |
+// to and detaching from the Blink GC infrastructure. The initialize method |
// must be called during initialization on the WebThread and before the |
-// thread allocates any objects managed by the Blink GC. The detach GC |
+// thread allocates any objects managed by the Blink GC. The shutdown |
// 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 @@ public: |
m_thread->removeTaskObserver(observer); |
} |
- void attachGC(); |
- void detachGC(); |
+ void initialize(); |
+ void shutdown(); |
WebThread& platformThread() const |
{ |