Chromium Code Reviews| Index: src/property.h |
| diff --git a/src/property.h b/src/property.h |
| index 272a0a5ab9155b2cc228bd2fc2f0d3c76edeed0c..357eb399667283d4c2b8a3cb2d92b88417395dad 100644 |
| --- a/src/property.h |
| +++ b/src/property.h |
| @@ -23,6 +23,8 @@ class OStream; |
| // optionally a piece of data. |
| class Descriptor BASE_EMBEDDED { |
| public: |
| + Descriptor() : details_(Smi::FromInt(0)) {} |
|
Toon Verwaest
2014/08/20 07:43:11
Is this change necessary?
|
| + |
| void KeyToUniqueName() { |
| if (!key_->IsUniqueName()) { |
| key_ = key_->GetIsolate()->factory()->InternalizeString( |
| @@ -42,8 +44,6 @@ class Descriptor BASE_EMBEDDED { |
| PropertyDetails details_; |
| protected: |
| - Descriptor() : details_(Smi::FromInt(0)) {} |
| - |
| void Init(Handle<Name> key, Handle<Object> value, PropertyDetails details) { |
| key_ = key; |
| value_ = value; |