diff --git a/tools/snapshot/snapshot_builder.cc b/tools/snapshot/snapshot_builder.cc index 94fe1604149c43..eb755b7d29ed7c 100644 --- a/tools/snapshot/snapshot_builder.cc +++ b/tools/snapshot/snapshot_builder.cc @@ -25,7 +25,7 @@ void WriteVector(std::stringstream* ss, const T* vec, size_t size) { } } -std::string FormatBlob(v8::StartupData* blob, +std::string FormatBlob(StartupData* blob, const std::vector& isolate_data_indexes, const EnvSerializeInfo& env_info) { std::stringstream ss; @@ -75,9 +75,9 @@ const EnvSerializeInfo* NodeMainInstance::GetEnvSerializeInfo() { return ss.str(); } -static v8::StartupData SerializeNodeContextInternalFields(Local holder, - int index, - void* env) { +static StartupData SerializeNodeContextInternalFields(Local holder, + int index, + void* env) { void* ptr = holder->GetAlignedPointerFromInternalField(index); if (ptr == nullptr || ptr == env) { return StartupData{nullptr, 0};