| Index: sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
|
| index 96115b9f5000badae26eaf90bc0ac5abf228ee05..8b92b756720a1b89c29b7c2e86c903691db2abdd 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
|
| @@ -359,11 +359,10 @@ class Namer implements ClosureNamer {
|
| if (!isPrivateName(name)) return nameString;
|
|
|
| // The first library asking for a short private name wins.
|
| - LibraryElement owner = shouldMinify
|
| - ? library
|
| - : shortPrivateNameOwners.putIfAbsent(nameString, () => library);
|
| + LibraryElement owner =
|
| + shortPrivateNameOwners.putIfAbsent(nameString, () => library);
|
|
|
| - if (owner == library && !shouldMinify && !nameString.contains('\$')) {
|
| + if (owner == library && !nameString.contains('\$')) {
|
| // Since the name doesn't contain $ it doesn't clash with any
|
| // of the private names that have the library name as the prefix.
|
| return nameString;
|
|
|