Changeset 263568 in webkit


Ignore:
Timestamp:
Jun 26, 2020 10:16:24 AM (4 years ago)
Author:
stephan.szabo@sony.com
Message:

[WinCairo] Cannot build without resource load statistics
https://bugs.webkit.org/show_bug.cgi?id=213534

Reviewed by Don Olmstead.

Build fix for !ENABLE(RESOURCE_LOAD_STATISTICS)

  • UIProcess/API/C/WKWebsiteDataStoreRef.cpp:
  • UIProcess/WebsiteData/WebsiteDataStore.cpp:
Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r263551 r263568  
     12020-06-26  Stephan Szabo  <stephan.szabo@sony.com>
     2
     3        [WinCairo] Cannot build without resource load statistics
     4        https://bugs.webkit.org/show_bug.cgi?id=213534
     5
     6        Reviewed by Don Olmstead.
     7
     8        Build fix for !ENABLE(RESOURCE_LOAD_STATISTICS)
     9
     10        * UIProcess/API/C/WKWebsiteDataStoreRef.cpp:
     11        * UIProcess/WebsiteData/WebsiteDataStore.cpp:
     12
    1132020-06-25  Alex Christensen  <achristensen@webkit.org>
    214
  • trunk/Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.cpp

    r263422 r263568  
    7171void WKWebsiteDataStoreRemoveITPDataForDomain(WKWebsiteDataStoreRef dataStoreRef, WKStringRef host, void* context, WKWebsiteDataStoreRemoveITPDataForDomainFunction callback)
    7272{
     73#if ENABLE(RESOURCE_LOAD_STATISTICS)
    7374    WebKit::WebsiteDataRecord dataRecord;
    7475    dataRecord.types.add(WebKit::WebsiteDataType::ResourceLoadStatistics);
     
    8081        callback(context);
    8182    });
     83#else
     84    callback(context);
     85#endif
    8286}
    8387
  • trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp

    r263547 r263568  
    10111011                for (auto& hostName : dataRecord.HSTSCacheHostNames)
    10121012                    HSTSCacheHostNames.append(hostName);
     1013#if ENABLE(RESOURCE_LOAD_STATISTICS)
    10131014                for (auto& registrableDomain : dataRecord.resourceLoadStatisticsRegistrableDomains)
    10141015                    registrableDomains.append(registrableDomain);
     1016#endif
    10151017            }
    10161018
Note: See TracChangeset for help on using the changeset viewer.