Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 7d7d233e6c2e0b0938dae7fbe1af041ed6ceaee4..302d4b454acf071a2cab4dc6a08e314d0f112291 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1798,10 +1798,13 @@ enum AccessorComponent { |
ACCESSOR_SETTER |
}; |
+enum class GetKeysConversion { kKeepNumbers, kConvertToString }; |
-enum GetKeysConversion { KEEP_NUMBERS, CONVERT_TO_STRING }; |
- |
-enum KeyCollectionType { OWN_ONLY, INCLUDE_PROTOS }; |
+enum class KeyCollectionMode { |
+ kOwnOnly = static_cast<int>(v8::KeyCollectionMode::kOwnOnly), |
+ kIncludePrototypes = |
+ static_cast<int>(v8::KeyCollectionMode::kIncludePrototypes) |
+}; |
// JSReceiver includes types on which properties can be defined, i.e., |
// JSObject and JSProxy. |