From 9d14f87da379f4cbffdd1ead0b0cee7cbbca3c6b Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 16 Jul 2020 12:37:59 +0200 Subject: [PATCH] [v8] use GetDataFromSnapshotOnce in AddData doc This commit updates the comment for the AddData methods which currently refer to GetDataFromSnapshot, and changes them to GetDataFromSnapshotOnce instead. Change-Id: Id09d187eccf645338e2c75b8b692c15a904c8357 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2301929 Reviewed-by: Toon Verwaest Commit-Queue: Toon Verwaest Cr-Commit-Position: refs/heads/master@{#76310} --- include/v8.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/v8.h b/include/v8.h index c9a781e45c..2d338288d1 100644 --- a/include/v8.h +++ b/include/v8.h @@ -10119,8 +10119,8 @@ class V8_EXPORT SnapshotCreator { /** * Attach arbitrary V8::Data to the context snapshot, which can be retrieved - * via Context::GetDataFromSnapshot after deserialization. This data does not - * survive when a new snapshot is created from an existing snapshot. + * via Context::GetDataFromSnapshotOnce after deserialization. This data does + * not survive when a new snapshot is created from an existing snapshot. * \returns the index for retrieval. */ template @@ -10128,8 +10128,8 @@ class V8_EXPORT SnapshotCreator { /** * Attach arbitrary V8::Data to the isolate snapshot, which can be retrieved - * via Isolate::GetDataFromSnapshot after deserialization. This data does not - * survive when a new snapshot is created from an existing snapshot. + * via Isolate::GetDataFromSnapshotOnce after deserialization. This data does + * not survive when a new snapshot is created from an existing snapshot. * \returns the index for retrieval. */ template