mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-15 01:57:58 +08:00
af62d7fcf6
Fixes the chromium presubmit error for UTF8String: The use of -[NSString UTF8String] is dangerous as it can return null even if |canBeConvertedToEncoding:NSUTF8StringEncoding| returns YES. Please use |SysNSStringToUTF8| instead. Bug: crashpad:31 Change-Id: Iaf939012ea9d342f6a01af58119cef962319aefe Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2119613 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org>