Index: src/json-stringifier.cc |
diff --git a/src/json-stringifier.cc b/src/json-stringifier.cc |
index b38c7807bd9530cd7afbf60196a9b34e7e7bb196..061c910363ecf2c9bbc6317f621f02e75b3453d1 100644 |
--- a/src/json-stringifier.cc |
+++ b/src/json-stringifier.cc |
@@ -537,7 +537,8 @@ JsonStringifier::Result JsonStringifier::SerializeJSReceiverSlow( |
if (contents.is_null()) { |
ASSIGN_RETURN_ON_EXCEPTION_VALUE( |
isolate_, contents, |
- KeyAccumulator::GetKeys(object, OWN_ONLY, ENUMERABLE_STRINGS), |
+ KeyAccumulator::GetKeys(object, KeyCollectionMode::kOwnOnly, |
+ ENUMERABLE_STRINGS), |
EXCEPTION); |
} |
builder_.AppendCharacter('{'); |