Index: src/snapshot/partial-serializer.h |
diff --git a/src/snapshot/partial-serializer.h b/src/snapshot/partial-serializer.h |
index 282f76e78fdb69422ba8495bfdbbbc32a6635861..45d64e431ef146255cbfbadedae5e1ce97802494 100644 |
--- a/src/snapshot/partial-serializer.h |
+++ b/src/snapshot/partial-serializer.h |
@@ -15,7 +15,8 @@ class StartupSerializer; |
class PartialSerializer : public Serializer { |
public: |
- PartialSerializer(Isolate* isolate, StartupSerializer* startup_serializer); |
+ PartialSerializer(Isolate* isolate, StartupSerializer* startup_serializer, |
+ v8::SerializeInternalFieldsCallback callback); |
~PartialSerializer() override; |
@@ -28,7 +29,11 @@ class PartialSerializer : public Serializer { |
bool ShouldBeInThePartialSnapshotCache(HeapObject* o); |
+ void SerializeInternalFields(); |
+ |
StartupSerializer* startup_serializer_; |
+ List<JSObject*> internal_field_holders_; |
+ v8::SerializeInternalFieldsCallback serialize_internal_fields_; |
DISALLOW_COPY_AND_ASSIGN(PartialSerializer); |
}; |