Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Unified Diff: runtime/vm/growable_array.h

Issue 11040062: Renamed Zone->StackZone, BaseZone->Zone, in preparation for changing isolate->get_zone() to return … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review changes Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/dart_api_state.h ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
void Resize(int new_length);
« no previous file with comments | « runtime/vm/dart_api_state.h ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698