Bug 254873
| Summary: | Prevent mixing of generate and generateThreadSafe at compile time | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
| Component: | Web Template Framework | Assignee: | Matt Woodrow <mattwoodrow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=255196 | ||
Matt Woodrow
generate and generateThreadSafe use separate counters, so mixing usage will results in collisions.
We can make this a template parameter instead, and prevent mixing at compile time.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/12288
EWS
Committed 262749@main (1641f98f8e48): <https://commits.webkit.org/262749@main>
Reviewed commits have been landed. Closing PR #12288 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/107781219>