Summary: | Fix Ref to deref before assignment, add tests for this to RefPtr, Ref, Function | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Darin Adler <darin> | ||||||
Component: | Web Template Framework | Assignee: | Darin Adler <darin> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | cdumez, sam | ||||||
Priority: | P2 | ||||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Darin Adler
2017-06-18 13:28:04 PDT
Created attachment 313243 [details]
Patch
Chris, I’ll merge this WTF::Function test with the reentrancy test you made, once you land your patch. Created attachment 313244 [details]
Patch
Comment on attachment 313244 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=313244&action=review > Source/WTF/ChangeLog:8 > + * wtf/Ref.h: Changed operator= to not be inlined. Added swap functions. I think you mean inline in the definition. It is still inlined. Committed r218496: <http://trac.webkit.org/changeset/218496> |