Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index a1ca34ead8dc83ec02d448eeb23d0953409df07a..e0e7c1c966b81f476d0e89f69dd9c6daf1977b2d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10739,7 +10739,7 @@ void SharedFunctionInfo::StartInobjectSlackTracking(Map* map) { |
// No tracking during the snapshot construction phase. |
Isolate* isolate = GetIsolate(); |
- if (Serializer::enabled(isolate)) return; |
+ if (isolate->serializer_enabled()) return; |
if (map->unused_property_fields() == 0) return; |