Changeset 211223 in webkit


Ignore:
Timestamp:
Jan 26, 2017 11:50:14 AM (7 years ago)
Author:
andersca@apple.com
Message:

Don't use _CFBundleCreateUnique on Yosemite, it's not available there
https://bugs.webkit.org/show_bug.cgi?id=167459
rdar://problem/30181179

Reviewed by Beth Dakin.

  • Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:

(WebKit::NetscapePluginModule::getPluginInfo):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r211221 r211223  
     12017-01-26  Anders Carlsson  <andersca@apple.com>
     2
     3        Don't use _CFBundleCreateUnique on Yosemite, it's not available there
     4        https://bugs.webkit.org/show_bug.cgi?id=167459
     5        rdar://problem/30181179
     6
     7        Reviewed by Beth Dakin.
     8
     9        * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
     10        (WebKit::NetscapePluginModule::getPluginInfo):
     11
    1122017-01-26  Alex Christensen  <achristensen@webkit.org>
    213
  • trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm

    r210603 r211223  
    210210   
    211211    // Try to initialize the bundle.
     212#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
    212213    RetainPtr<CFBundleRef> bundle = adoptCF(_CFBundleCreateUnique(kCFAllocatorDefault, bundleURL.get()));
     214#else
     215    RetainPtr<CFBundleRef> bundle = adoptCF(CFBundleCreate(kCFAllocatorDefault, bundleURL.get()));
     216#endif
     217
    213218    if (!bundle)
    214219        return false;
Note: See TracChangeset for help on using the changeset viewer.