Bug 174189

Summary: WebResourceLoadStatisticsStore should only be constructed when the feature is enabled
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, ggaren, wilander
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 174203    
Attachments:
Description Flags
Patch bfulgham: review+

Description Chris Dumez 2017-07-05 19:02:19 PDT
WebResourceLoadStatisticsStore should only be constructed when the feature is enabled.
Comment 1 Chris Dumez 2017-07-05 19:15:55 PDT
Created attachment 314675 [details]
Patch
Comment 2 Brent Fulgham 2017-07-06 10:16:11 PDT
Comment on attachment 314675 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=314675&action=review

r=me

> Source/WebKit2/UIProcess/WebResourceLoadStatisticsStore.cpp:96
>  {

Should we be asserting that this construction is taking place on the main thread?
Comment 3 Chris Dumez 2017-07-06 10:23:13 PDT
Committed r219203: <http://trac.webkit.org/changeset/219203>