Index: src/property.h |
diff --git a/src/property.h b/src/property.h |
index 1256d5930cf790b2e103bfb352a4cb786f052fcf..c8da9aa60723c67ca9c37bad55f02893d98495c1 100644 |
--- a/src/property.h |
+++ b/src/property.h |
@@ -8,8 +8,6 @@ |
#include <iosfwd> |
#include "src/factory.h" |
-#include "src/field-index.h" |
-#include "src/field-type.h" |
#include "src/isolate.h" |
namespace v8 { |
@@ -75,9 +73,7 @@ std::ostream& operator<<(std::ostream& os, const Descriptor& d); |
class DataDescriptor final : public Descriptor { |
public: |
DataDescriptor(Handle<Name> key, int field_index, |
- PropertyAttributes attributes, Representation representation) |
- : Descriptor(key, FieldType::Any(key->GetIsolate()), attributes, DATA, |
- representation, field_index) {} |
+ PropertyAttributes attributes, Representation representation); |
// The field type is either a simple type or a map wrapped in a weak cell. |
DataDescriptor(Handle<Name> key, int field_index, |
Handle<Object> wrapped_field_type, |