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

Unified Diff: runtime/vm/zone.h

Issue 9325022: Decode the Dart message into a Dart_CMessage structure before calling the native port callback (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments from asiva@ Created 8 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/vm_sources.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/zone.h
diff --git a/runtime/vm/zone.h b/runtime/vm/zone.h
index 76cfeef765fc75baf4aba0d999531326487ca4a0..6d05d7e8562828ccd1aac410bf437d7a01092a92 100644
--- a/runtime/vm/zone.h
+++ b/runtime/vm/zone.h
@@ -91,6 +91,7 @@ class BaseZone {
friend class Zone;
friend class ApiZone;
+ template<typename T, typename B> friend class BaseGrowableArray;
DISALLOW_COPY_AND_ASSIGN(BaseZone);
};
@@ -127,6 +128,8 @@ class Zone : public StackResource {
void VisitObjectPointers(ObjectPointerVisitor* visitor);
private:
+ BaseZone* GetBaseZone() { return &zone_; }
+
BaseZone zone_;
// Structure for managing handles allocation.
@@ -134,6 +137,10 @@ class Zone : public StackResource {
// Used for chaining zones in order to allow unwinding of stacks.
Zone* previous_;
+
+ template<typename T> friend class GrowableArray;
+ template<typename T> friend class ZoneGrowableArray;
+
DISALLOW_IMPLICIT_CONSTRUCTORS(Zone);
};
« no previous file with comments | « runtime/vm/vm_sources.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698