Index: src/api-natives.cc |
diff --git a/src/api-natives.cc b/src/api-natives.cc |
index 5248ff9a2b425002d0596a8a8da825ca9dfb66ae..87138bd5cf7d2c4de4ca21d786aab7cf912966e9 100644 |
--- a/src/api-natives.cc |
+++ b/src/api-natives.cc |
@@ -550,7 +550,7 @@ MaybeHandle<JSObject> ApiNatives::InstantiateRemoteObject( |
void ApiNatives::AddDataProperty(Isolate* isolate, Handle<TemplateInfo> info, |
Handle<Name> name, Handle<Object> value, |
PropertyAttributes attributes) { |
- PropertyDetails details(attributes, DATA, 0, PropertyCellType::kNoCell); |
+ PropertyDetails details(kData, attributes, 0, PropertyCellType::kNoCell); |
auto details_handle = handle(details.AsSmi(), isolate); |
Handle<Object> data[] = {name, details_handle, value}; |
AddPropertyToPropertyList(isolate, info, arraysize(data), data); |
@@ -562,7 +562,7 @@ void ApiNatives::AddDataProperty(Isolate* isolate, Handle<TemplateInfo> info, |
PropertyAttributes attributes) { |
auto value = handle(Smi::FromInt(intrinsic), isolate); |
auto intrinsic_marker = isolate->factory()->true_value(); |
- PropertyDetails details(attributes, DATA, 0, PropertyCellType::kNoCell); |
+ PropertyDetails details(kData, attributes, 0, PropertyCellType::kNoCell); |
auto details_handle = handle(details.AsSmi(), isolate); |
Handle<Object> data[] = {name, intrinsic_marker, details_handle, value}; |
AddPropertyToPropertyList(isolate, info, arraysize(data), data); |
@@ -575,7 +575,7 @@ void ApiNatives::AddAccessorProperty(Isolate* isolate, |
Handle<FunctionTemplateInfo> getter, |
Handle<FunctionTemplateInfo> setter, |
PropertyAttributes attributes) { |
- PropertyDetails details(attributes, ACCESSOR, 0, PropertyCellType::kNoCell); |
+ PropertyDetails details(kAccessor, attributes, 0, PropertyCellType::kNoCell); |
auto details_handle = handle(details.AsSmi(), isolate); |
Handle<Object> data[] = {name, details_handle, getter, setter}; |
AddPropertyToPropertyList(isolate, info, arraysize(data), data); |