Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 4446b87e1c2a739c3f68a6da4eb64a48ec54e36b..ee51cc20447909467f7a241a4932cb2be31526b6 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -6186,7 +6186,7 @@ enum GCType { |
* - kGCCallbackFlagCollectAllAvailableGarbage: The GC callback is called |
* in a phase where V8 is trying to collect all available garbage |
* (e.g., handling a low memory notification). |
- * - kGCCallbackScheduleIdleCollectGarbage: The GC callback is called to |
+ * - kGCCallbackScheduleIdleGarbageCollection: The GC callback is called to |
* trigger an idle garbage collection. |
*/ |
enum GCCallbackFlags { |
@@ -6196,7 +6196,7 @@ enum GCCallbackFlags { |
kGCCallbackFlagSynchronousPhantomCallbackProcessing = 1 << 3, |
kGCCallbackFlagCollectAllAvailableGarbage = 1 << 4, |
kGCCallbackFlagCollectAllExternalMemory = 1 << 5, |
- kGCCallbackScheduleIdleCollectGarbage = 1 << 6, |
+ kGCCallbackScheduleIdleGarbageCollection = 1 << 6, |
}; |
typedef void (*GCCallback)(GCType type, GCCallbackFlags flags); |