Target: macOS / iOS Chrome. Races
-[VideoCaptureDeviceAVFoundation captureOutput:didFinishProcessingPhoto:error:]
(AVFoundation private dispatch queue, calls WeakPtrFactory::GetWeakPtr() under
_lock) against -stopPhotoOutput (device task runner, calls
WeakPtrFactory::InvalidateWeakPtrs() without _lock).