Chromium Code Reviews| Index: runtime/vm/growable_array.h |
| diff --git a/runtime/vm/growable_array.h b/runtime/vm/growable_array.h |
| index 965651e2a33e91a24a30dee0f4e7add816e1dda9..73792093aefdb159b99a3c0c948cae50f7679259 100644 |
| --- a/runtime/vm/growable_array.h |
| +++ b/runtime/vm/growable_array.h |
| @@ -18,12 +18,12 @@ namespace dart { |
| template<typename T, typename B> |
| class BaseGrowableArray : public B { |
| public: |
| - explicit BaseGrowableArray(BaseZone* zone) |
| + explicit BaseGrowableArray(Zone* zone) |
| : length_(0), capacity_(0), data_(NULL), zone_(zone) { |
| ASSERT(zone_ != NULL); |
| } |
| - BaseGrowableArray(int initial_capacity, BaseZone* zone) |
| + BaseGrowableArray(int initial_capacity, Zone* zone) |
| : length_(0), capacity_(0), data_(NULL), zone_(zone) { |
| ASSERT(zone_ != NULL); |
| if (initial_capacity > 0) { |
| @@ -88,7 +88,7 @@ class BaseGrowableArray : public B { |
| int length_; |
| int capacity_; |
| T* data_; |
| - BaseZone* zone_; // Zone in which we are allocating the array. |
| + Zone* zone_; // Zone in which we are allocating the array. |
|
siva
2012/10/05 18:31:58
For this case we end up including a handles block
Tom Ball
2012/10/05 18:55:47
Okay, I'll keep an eye out for issues there.
|
| void Resize(int new_length); |