mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 07:05:37 +00:00
Fix usage of deprecated function CFPropertyListCreateFromXMLData.
The function CFPropertyListCreateFromXMLData is deprecated in favor of the function CFPropertyListCreateWithData that is available since the 10.6 OS X SDK and 4.0 iOS SDK. BUG=https://bugs.chromium.org/p/google-breakpad/issues/detail?id=675 BUG=569158 R=mark@chromium.org Review URL: https://codereview.chromium.org/1678063002 .
This commit is contained in:
parent
76c51742c9
commit
f4012f5cd9
|
@ -167,9 +167,9 @@ void MinidumpGenerator::GatherSystemInformation() {
|
|||
if (!data) {
|
||||
return;
|
||||
}
|
||||
CFDictionaryRef list = static_cast<CFDictionaryRef>
|
||||
(CFPropertyListCreateFromXMLData(NULL, data, kCFPropertyListImmutable,
|
||||
NULL));
|
||||
CFDictionaryRef list =
|
||||
static_cast<CFDictionaryRef>(CFPropertyListCreateWithData(
|
||||
NULL, data, kCFPropertyListImmutable, NULL, NULL));
|
||||
CFRelease(data);
|
||||
if (!list) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue