| Index: runtime/vm/dart_api_state.h
|
| diff --git a/runtime/vm/dart_api_state.h b/runtime/vm/dart_api_state.h
|
| index a1f276ca8c79bf734b0dba9a215355096f785c2c..5b21db786f0566186697eb644003787aa5b78897 100644
|
| --- a/runtime/vm/dart_api_state.h
|
| +++ b/runtime/vm/dart_api_state.h
|
| @@ -362,7 +362,7 @@ class ApiLocalScope {
|
| uword stack_marker() const { return stack_marker_; }
|
| void set_previous(ApiLocalScope* value) { previous_ = value; }
|
| LocalHandles* local_handles() { return &local_handles_; }
|
| - ApiZone& zone() { return zone_; }
|
| + ApiZone* zone() { return &zone_; }
|
|
|
| private:
|
| ApiLocalScope* previous_;
|
| @@ -469,7 +469,7 @@ class ApiState {
|
| int total = 0;
|
| ApiLocalScope* scope = top_scope_;
|
| while (scope != NULL) {
|
| - total += scope->zone().SizeInBytes();
|
| + total += scope->zone()->SizeInBytes();
|
| scope = scope->previous();
|
| }
|
| return total;
|
|
|