mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-01-10 23:35:28 +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) {
|
if (!data) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
CFDictionaryRef list = static_cast<CFDictionaryRef>
|
CFDictionaryRef list =
|
||||||
(CFPropertyListCreateFromXMLData(NULL, data, kCFPropertyListImmutable,
|
static_cast<CFDictionaryRef>(CFPropertyListCreateWithData(
|
||||||
NULL));
|
NULL, data, kCFPropertyListImmutable, NULL, NULL));
|
||||||
CFRelease(data);
|
CFRelease(data);
|
||||||
if (!list) {
|
if (!list) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue