GN: Enable ARC for Mac and iOS in rtc_* templates

Remove all uses of retain/release and NSAutoreleasePool.

This makes transformation to Bazel easier.

This CL subsumes https://codereview.webrtc.org/2778163002 and depends on https://codereview.webrtc.org/2784483002/

BUG=webrtc:6412

Review-Url: https://codereview.webrtc.org/2781713004
Cr-Commit-Position: refs/heads/master@{#17780}
This commit is contained in:
kthelgason
2017-04-20 01:38:01 -07:00
committed by Commit bot
parent 897d08ef1b
commit 6bda02b51d
9 changed files with 31 additions and 61 deletions

View File

@ -97,7 +97,6 @@ static cricket::VideoFormat expectedFormat =
CFRelease(_format);
_format = nil;
}
[super dealloc];
}
// Redefinition of AVCaptureDevice methods we want to mock.