Index: runtime/lib/mirrors.cc |
diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc |
index e1d5ba9674dfab02b2ea114d982e37fb56d057d4..aaa28e187a4fd5feb5e023269db83ec0a27a2af9 100644 |
--- a/runtime/lib/mirrors.cc |
+++ b/runtime/lib/mirrors.cc |
@@ -689,7 +689,7 @@ static RawInstance* InvokeLibraryGetter(const Library& library, |
} |
// An uninitialized field was found. Check for a getter in the field's |
// owner classs. |
- const Class& klass = Class::Handle(field.owner()); |
+ const Class& klass = Class::Handle(field.Owner()); |
const String& internal_getter_name = |
String::Handle(Field::GetterName(getter_name)); |
getter = klass.LookupStaticFunction(internal_getter_name); |
@@ -883,7 +883,7 @@ DEFINE_NATIVE_ENTRY(DeclarationMirror_metadata, 1) { |
klass = Function::Cast(decl).origin(); |
library = klass.library(); |
} else if (decl.IsField()) { |
- klass = Field::Cast(decl).origin(); |
+ klass = Field::Cast(decl).Origin(); |
library = klass.library(); |
} else if (decl.IsLibrary()) { |
library ^= decl.raw(); |
@@ -1993,7 +1993,7 @@ DEFINE_NATIVE_ENTRY(DeclarationMirror_location, 1) { |
token_pos = cls.token_pos(); |
} else if (decl.IsField()) { |
const Field& field = Field::Cast(decl); |
- script = field.script(); |
+ script = field.Script(); |
token_pos = field.token_pos(); |
} else if (decl.IsTypeParameter()) { |
const TypeParameter& type_var = TypeParameter::Cast(decl); |