DescriptionFix usage of deprecated method sendSynchronousRequest:returningResponse:error:.
The method -[NSURLConnection sendSynchronousRequest:returningResponse:error:]
has been deprecated in 10.11 OS X SDK and 9.0 iOS SDK without replacement. So
emulate a synchronous request by using an asynchronous request and waiting on
a semaphore for the request completion.
BUG=https://bugs.chromium.org/p/google-breakpad/issues/detail?id=675
BUG=569158
R=mark@chromium.org
Committed: https://chromium.googlesource.com/breakpad/breakpad/+/4becb1170940e78bfbc255aa164aca5c9523671c
Patch Set 1 #Patch Set 2 : Fix compilation #
Depends on Patchset: Messages
Total messages: 5 (2 generated)
|