| Summary: | Remove atomicIncrement/atomicDecrement | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||||
| Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | benjamin, cmarcelo, commit-queue, eric.carlson, glenn, jer.noble, philipj | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Anders Carlsson
2014-01-25 11:54:02 PST
Created attachment 222224 [details]
Patch
Comment on attachment 222224 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=222224&action=review > Source/WTF/wtf/ThreadSafeRefCounted.h:97 > - if (atomicDecrement(&m_refCount) <= 0) { > + if (++m_refCount <= 0) { Bug! Created attachment 222226 [details]
Patch
Comment on attachment 222226 [details]
Patch
r=me
Committed r162777: <http://trac.webkit.org/changeset/162777> |