Bug 148271

Summary: Replace uses of StaticLock with Lock
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: NEW ---    
Severity: Normal CC: benjamin, cmarcelo, commit-queue, ggaren
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Anders Carlsson 2015-08-20 17:16:43 PDT
Replace uses of StaticLock with Lock
Comment 1 Anders Carlsson 2015-08-20 17:17:39 PDT
Created attachment 259536 [details]
Patch
Comment 2 Geoffrey Garen 2015-08-21 11:57:49 PDT
Don't we need to do something like marking Lock's constructor constexpr in order to avoid a static initializer?
Comment 3 Anders Carlsson 2015-08-21 11:59:18 PDT
(In reply to comment #2)
> Don't we need to do something like marking Lock's constructor constexpr in
> order to avoid a static initializer?

Yup. I did that (and landed those patches) but they broke the Mavericks build due to compiler bugs. I'm going to re-land the patches once we can drop Mavericks support.