⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243253 in webkit


Ignore:
Timestamp:
Mar 20, 2019, 4:24:53 PM (7 years ago)
Author:
Keith Rollin
Message:

Update checks that determine if WebKit is system WebKit
https://bugs.webkit.org/show_bug.cgi?id=195756

Unreviewed tweak of r243251 after unreviewed build fix after r243230.

  • Shared/mac/AuxiliaryProcessMac.mm:

(WebKit::AuxiliaryProcess::isSystemWebKit):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r243251 r243253  
     12019-03-20  Keith Rollin  <krollin@apple.com>
     2
     3        Update checks that determine if WebKit is system WebKit
     4        https://bugs.webkit.org/show_bug.cgi?id=195756
     5
     6        Unreviewed tweak of r243251 after unreviewed build fix after r243230.
     7
     8        * Shared/mac/AuxiliaryProcessMac.mm:
     9        (WebKit::AuxiliaryProcess::isSystemWebKit):
     10
    1112019-03-20  Keith Rollin  <krollin@apple.com>
    212
  • trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm

    r243251 r243253  
    719719bool AuxiliaryProcess::isSystemWebKit()
    720720{
    721     static bool isSystemWebKit = [] {
     721    static bool isSystemWebKit = []() -> bool {
    722722#if HAVE(ALTERNATE_SYSTEM_LAYOUT)
    723723        if ([[webKit2Bundle() bundlePath] hasPrefix:@"/Library/Apple/System/"])
    724             return YES;
     724            return true;
    725725#endif
    726726        return [[webKit2Bundle() bundlePath] hasPrefix:@"/System/"];
Note: See TracChangeset for help on using the changeset viewer.