| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index 06ca870d29de3b34f027ea843eb0f1e56724072b..f93789ef211db075fb7af86f1a4905eb4ac70758 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -5416,7 +5416,7 @@ class WeakProperty : public Instance {
|
| return raw_ptr()->key_;
|
| }
|
|
|
| - void set_key(const Object& key) {
|
| + void set_key(const Object& key) const {
|
| StorePointer(&raw_ptr()->key_, key.raw());
|
| }
|
|
|
| @@ -5424,7 +5424,7 @@ class WeakProperty : public Instance {
|
| return raw_ptr()->value_;
|
| }
|
|
|
| - void set_value(const Object& value) {
|
| + void set_value(const Object& value) const {
|
| StorePointer(&raw_ptr()->value_, value.raw());
|
| }
|
|
|
|
|