| Index: runtime/lib/mirrors.cc
|
| diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc
|
| index 4b8627f9e81b36386b35ac71bd216c843186e159..53af2c44179a349ddab37915ff5da9e2ac43b615 100644
|
| --- a/runtime/lib/mirrors.cc
|
| +++ b/runtime/lib/mirrors.cc
|
| @@ -2024,8 +2024,7 @@ DEFINE_NATIVE_ENTRY(DeclarationMirror_location, 1) {
|
| token_pos = cls.token_pos();
|
| } else if (decl.IsField()) {
|
| const Field& field = Field::Cast(decl);
|
| - const Class& owner = Class::Handle(field.owner());
|
| - script = owner.script();
|
| + script = field.script();
|
| token_pos = field.token_pos();
|
| } else if (decl.IsTypeParameter()) {
|
| const TypeParameter& type_var = TypeParameter::Cast(decl);
|
|
|