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

Unified Diff: runtime/vm/dart_api_state.h

Issue 2715463003: Add option to gen_snapshot for creating a Makefile describing a snapshot's dependencies. (Closed)
Patch Set: . Created 3 years, 10 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/allocation.h ('k') | runtime/vm/flow_graph_inliner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_state.h
diff --git a/runtime/vm/dart_api_state.h b/runtime/vm/dart_api_state.h
index 7946ef8ea5bfcc50162865e52d0b0efcb7e5ee69..1928ca00a5d827212f4f30e676d2ccbac771358e 100644
--- a/runtime/vm/dart_api_state.h
+++ b/runtime/vm/dart_api_state.h
@@ -723,15 +723,17 @@ class ApiNativeScope {
// environment. When outside an isolate environment it picks the zone
// from the current native scope.
template <typename T>
-class ApiGrowableArray : public BaseGrowableArray<T, ValueObject> {
+class ApiGrowableArray : public BaseGrowableArray<T, ValueObject, Zone> {
public:
explicit ApiGrowableArray(int initial_capacity)
- : BaseGrowableArray<T, ValueObject>(initial_capacity,
- ApiNativeScope::Current()->zone()) {}
+ : BaseGrowableArray<T, ValueObject, Zone>(
+ initial_capacity,
+ ApiNativeScope::Current()->zone()) {}
ApiGrowableArray()
- : BaseGrowableArray<T, ValueObject>(ApiNativeScope::Current()->zone()) {}
+ : BaseGrowableArray<T, ValueObject, Zone>(
+ ApiNativeScope::Current()->zone()) {}
ApiGrowableArray(intptr_t initial_capacity, Zone* zone)
- : BaseGrowableArray<T, ValueObject>(initial_capacity, zone) {}
+ : BaseGrowableArray<T, ValueObject, Zone>(initial_capacity, zone) {}
};
« no previous file with comments | « runtime/vm/allocation.h ('k') | runtime/vm/flow_graph_inliner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698