DescriptionDeclare pool_ as id instead of NSAutoreleasePool.
File platform_test.h will be included from code built with Objective C
Automatic Reference Counting that forbids explicit usage of
NSAutoreleasePools. The implementation file will not be built with ARC,
so the functionality is preserved. The implementation file cannot be
built with ARC accidentally because it mentions NSAutoreleasePool.
BUG=None
TEST=None
Committed: https://crrev.com/b80a345285b49a41e6237e3b69fc5f34756308d8
Cr-Commit-Position: refs/heads/master@{#413464}
Patch Set 1 #
Messages
Total messages: 14 (5 generated)
|