RESOLVED FIXED 127625
Remove atomicIncrement/atomicDecrement
https://bugs.webkit.org/show_bug.cgi?id=127625
Summary Remove atomicIncrement/atomicDecrement
Anders Carlsson
Reported 2014-01-25 11:54:02 PST
Remove atomicIncrement/atomicDecrement
Attachments
Patch (19.42 KB, patch)
2014-01-25 11:56 PST, Anders Carlsson
no flags
Patch (19.42 KB, patch)
2014-01-25 12:32 PST, Anders Carlsson
kling: review+
Anders Carlsson
Comment 1 2014-01-25 11:56:51 PST
Andreas Kling
Comment 2 2014-01-25 12:27:32 PST
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!
Anders Carlsson
Comment 3 2014-01-25 12:32:58 PST
Andreas Kling
Comment 4 2014-01-25 12:39:25 PST
Comment on attachment 222226 [details] Patch r=me
Anders Carlsson
Comment 5 2014-01-25 13:12:13 PST
Note You need to log in before you can comment on or make changes to this bug.