Index: sdk/lib/_internal/pub/asset/dart/serialize/transformer.dart |
diff --git a/sdk/lib/_internal/pub/asset/dart/serialize/transformer.dart b/sdk/lib/_internal/pub/asset/dart/serialize/transformer.dart |
index 608eaa73617a4117e16a356e496aef7a984f8ed3..e6e030d21e5b3562ab1a94ae1b1b5d271e8577c7 100644 |
--- a/sdk/lib/_internal/pub/asset/dart/serialize/transformer.dart |
+++ b/sdk/lib/_internal/pub/asset/dart/serialize/transformer.dart |
@@ -19,7 +19,7 @@ Map serializeTransformer(Transformer transformer) { |
port.listen((wrappedMessage) { |
respond(wrappedMessage, (message) { |
if (message['type'] == 'isPrimary') { |
- return transformer.isPrimary(deserializeAsset(message['asset'])); |
+ return transformer.isPrimary(deserializeId(message['id'])); |
} else { |
assert(message['type'] == 'apply'); |