| Index: sky/sdk/example/fitness/lib/measurement.dart
|
| diff --git a/tools/clang/blink_gc_plugin/tests/stack_allocated.cpp b/sky/sdk/example/fitness/lib/measurement.dart
|
| similarity index 60%
|
| copy from tools/clang/blink_gc_plugin/tests/stack_allocated.cpp
|
| copy to sky/sdk/example/fitness/lib/measurement.dart
|
| index 450b3b50de8343cfbfad06b3b4e0ebecb2edb65b..cc1986542cb70b6bbfc5ebc496e073d54a29fde5 100644
|
| --- a/tools/clang/blink_gc_plugin/tests/stack_allocated.cpp
|
| +++ b/sky/sdk/example/fitness/lib/measurement.dart
|
| @@ -2,12 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "stack_allocated.h"
|
| +class Measurement {
|
| + final DateTime when;
|
| + final double weight;
|
|
|
| -namespace blink {
|
| -
|
| -void HeapObject::trace(Visitor* visitor)
|
| -{
|
| + Measurement({ this.when, this.weight });
|
| }
|
|
|
| -}
|
|
|