| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index f8d56f6907867ae4d72382ee54ccfafa6d1f4a23..602ea500fefb9c3ca58d61c55b640d2d19b1e834 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -9762,8 +9762,8 @@ void Library::InvalidateResolvedName(const String& name) const {
|
| intptr_t num_libs = libs.Length();
|
| for (intptr_t i = 0; i < num_libs; i++) {
|
| lib ^= libs.At(i);
|
| - if (LookupExportedNamesCache(name, &entry)) {
|
| - InitExportedNamesCache();
|
| + if (lib.LookupExportedNamesCache(name, &entry)) {
|
| + lib.InitExportedNamesCache();
|
| }
|
| }
|
| }
|
|
|