Changeset 197154 in webkit


Ignore:
Timestamp:
Feb 25, 2016 6:04:01 PM (8 years ago)
Author:
ddkilzer@apple.com
Message:

REGRESSION (r196744): NetworkExtension.framework and NEFilterSource class are not available on Recovery partition
<http://webkit.org/b/154703>

Reviewed by Andy Estes.

  • platform/cocoa/NetworkExtensionContentFilter.mm: Make

soft-linking of NetworkExtension.framework and NEFilterSource
class optional since they are not available on the Recovery
partition. Note that NetworkExtensionContentFilter::enabled()
does not need to change since it already had the correct
behavior when getNEFilterSourceClass() returned nullptr.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r197153 r197154  
     12016-02-25  David Kilzer  <ddkilzer@apple.com>
     2
     3        REGRESSION (r196744): NetworkExtension.framework and NEFilterSource class are not available on Recovery partition
     4        <http://webkit.org/b/154703>
     5
     6        Reviewed by Andy Estes.
     7
     8        * platform/cocoa/NetworkExtensionContentFilter.mm: Make
     9        soft-linking of NetworkExtension.framework and NEFilterSource
     10        class optional since they are not available on the Recovery
     11        partition.  Note that NetworkExtensionContentFilter::enabled()
     12        does not need to change since it already had the correct
     13        behavior when getNEFilterSourceClass() returned nullptr.
     14
    1152016-02-25  Ada Chan  <adachan@apple.com>
    216
  • trunk/Source/WebCore/platform/cocoa/NetworkExtensionContentFilter.mm

    r194952 r197154  
    3939#import <objc/runtime.h>
    4040
    41 SOFT_LINK_FRAMEWORK(NetworkExtension);
    42 SOFT_LINK_CLASS(NetworkExtension, NEFilterSource);
     41SOFT_LINK_FRAMEWORK_OPTIONAL(NetworkExtension);
     42SOFT_LINK_CLASS_OPTIONAL(NetworkExtension, NEFilterSource);
    4343
    4444#if HAVE(MODERN_NE_FILTER_SOURCE)
Note: See TracChangeset for help on using the changeset viewer.