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