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

Unified Diff: runtime/vm/growable_array.h

Issue 11028145: Changed StackZone and ApiZone to be containers for Zone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added assertion for ApiZone linking. 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
Index: runtime/vm/growable_array.h
diff --git a/runtime/vm/growable_array.h b/runtime/vm/growable_array.h
index 73792093aefdb159b99a3c0c948cae50f7679259..91c95c25d3c93e451aaa9ddc3b764918c7c9dcf9 100644
--- a/runtime/vm/growable_array.h
+++ b/runtime/vm/growable_array.h
@@ -123,10 +123,10 @@ class GrowableArray : public BaseGrowableArray<T, ValueObject> {
explicit GrowableArray(int initial_capacity)
: BaseGrowableArray<T, ValueObject>(
initial_capacity,
- Isolate::Current()->current_zone()->GetBaseZone()) {}
+ Isolate::Current()->current_zone()) {}
GrowableArray()
: BaseGrowableArray<T, ValueObject>(
- Isolate::Current()->current_zone()->GetBaseZone()) {}
+ Isolate::Current()->current_zone()) {}
};
@@ -136,10 +136,10 @@ class ZoneGrowableArray : public BaseGrowableArray<T, ZoneAllocated> {
explicit ZoneGrowableArray(int initial_capacity)
: BaseGrowableArray<T, ZoneAllocated>(
initial_capacity,
- Isolate::Current()->current_zone()->GetBaseZone()) {}
+ Isolate::Current()->current_zone()) {}
ZoneGrowableArray() :
BaseGrowableArray<T, ZoneAllocated>(
- Isolate::Current()->current_zone()->GetBaseZone()) {}
+ Isolate::Current()->current_zone()) {}
};
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698