Skip to content

Commit 0a23d65

Browse files
committedNov 27, 2020
tools: use using-declaration consistently
PR-URL: #36245 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent 6eec858 commit 0a23d65

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎tools/snapshot/snapshot_builder.cc

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ void WriteVector(std::stringstream* ss, const T* vec, size_t size) {
2525
}
2626
}
2727

28-
std::string FormatBlob(v8::StartupData* blob,
28+
std::string FormatBlob(StartupData* blob,
2929
const std::vector<size_t>& isolate_data_indexes,
3030
const EnvSerializeInfo& env_info) {
3131
std::stringstream ss;
@@ -75,9 +75,9 @@ const EnvSerializeInfo* NodeMainInstance::GetEnvSerializeInfo() {
7575
return ss.str();
7676
}
7777

78-
static v8::StartupData SerializeNodeContextInternalFields(Local<Object> holder,
79-
int index,
80-
void* env) {
78+
static StartupData SerializeNodeContextInternalFields(Local<Object> holder,
79+
int index,
80+
void* env) {
8181
void* ptr = holder->GetAlignedPointerFromInternalField(index);
8282
if (ptr == nullptr || ptr == env) {
8383
return StartupData{nullptr, 0};

0 commit comments

Comments
 (0)
Please sign in to comment.