mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
8342e6bd61
This effectively reverts f0ee5f0efee651ab82aa854761f107193b3db5de, but updates the subclass with the new required NSStream methods. Crashpad switched to using CFReadStream because NSInputStream required overriding two private methods of NSInputStream in order to use it with NSURLConnection. With Mac OS X 10.11 (the earliest that Chromium supports), this is no longer the case. On iOS, using the private CFReadStreamCreate() API is not permissible. Switch back to using a custom NSInputStream subclass instead. Bug: crashpad:382 Change-Id: I92b1260f49c6fa6c304475f7dc9b27ae1a5f35c4 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3271448 Commit-Queue: Robert Sesek <rsesek@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>