Bug 210757

Summary: Fix build when !ENABLE(RESOURCE_LOAD_STATISTICS)
Product: WebKit Reporter: Stephan Szabo <stephan.szabo>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cgarcia, don.olmstead, ross.kirsling, webkit-bug-importer, zan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Stephan Szabo 2020-04-20 11:56:38 PDT
r260356 appears to use functions of NetworkSession that appear to be declared in a ENABLE(RESOURCE_LOAD_STATISTICS) block with no guard.
Comment 1 Stephan Szabo 2020-04-20 12:00:02 PDT
Created attachment 396997 [details]
Patch
Comment 2 Ross Kirsling 2020-04-20 12:12:24 PDT
Comment on attachment 396997 [details]
Patch

r=me, looks like this code was moved from a Cocoa-specific file that was making this assumption without issue.
Comment 3 EWS 2020-04-20 13:09:51 PDT
Committed r260391: <https://trac.webkit.org/changeset/260391>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 396997 [details].
Comment 4 Radar WebKit Bug Importer 2020-04-20 13:10:15 PDT
<rdar://problem/62072250>