Chromium Code Reviews| Index: ios/showcase/common/protocol_alerter.mm |
| diff --git a/ios/showcase/common/protocol_alerter.mm b/ios/showcase/common/protocol_alerter.mm |
| index d1f420edc0ae844eecfa9012fc081ecda09aa2c4..0a27bbcdccf1038b781c881d52a538842cfcafc6 100644 |
| --- a/ios/showcase/common/protocol_alerter.mm |
| +++ b/ios/showcase/common/protocol_alerter.mm |
| @@ -170,7 +170,7 @@ char kAssociatedProtocolNameKey; |
| // Return a string describing an argument at |index| that's known to be an |
| // objective-C object. |
| - (NSString*)objectDescriptionAtIndex:(NSInteger)index { |
| - id object; |
| + __weak id object; |
|
Moe
2017/03/29 17:04:09
without this the alerter deallocates the object ar
lpromero
2017/04/03 16:41:41
Indeed: http://stackoverflow.com/a/16932813
But pl
Moe
2017/04/05 05:09:49
Done.
|
| [self getArgument:&object atIndex:index]; |
| if (!object) |