Summary: | Make IDBRequest ThreadSafeRefCounted | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||||||
Component: | WebCore Misc. | Assignee: | Chris Dumez <cdumez> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | achristensen, alecflett, beidson, commit-queue, darin, ews-watchlist, ggaren, Hironori.Fujii, jsbell, rniwa, webkit-bug-importer | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 200507 | ||||||||||||
Attachments: |
|
Description
Chris Dumez
2019-08-08 10:24:26 PDT
Created attachment 375813 [details]
Patch
Comment on attachment 375813 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=375813&action=review > Source/WebKit/WebKit.xcodeproj/project.pbxproj:-8970 > - CDA93DAE22F8BCF300490A69 /* FullscreenTouchSecheuristicParameters.h */, Is all this stuff really necessary with this patch? Comment on attachment 375813 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=375813&action=review >> Source/WebKit/WebKit.xcodeproj/project.pbxproj:-8970 >> - CDA93DAE22F8BCF300490A69 /* FullscreenTouchSecheuristicParameters.h */, > > Is all this stuff really necessary with this patch? Not sure what happened there, I'll drop. Created attachment 375814 [details]
Patch
Created attachment 375817 [details]
Patch
Created attachment 375818 [details]
Patch
Comment on attachment 375818 [details] Patch Clearing flags on attachment: 375818 Committed r248431: <https://trac.webkit.org/changeset/248431> All reviewed patches have been landed. Closing bug. Comment on attachment 375818 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=375818&action=review > Source/WebCore/Modules/indexeddb/IDBRequest.h:165 > + void refEventTarget() final { ThreadSafeRefCounted::ref(); } > + void derefEventTarget() final { ThreadSafeRefCounted::deref(); } I think we usually just write ref() and deref() here; works because of the using above. (In reply to Darin Adler from comment #10) > Comment on attachment 375818 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=375818&action=review > > > Source/WebCore/Modules/indexeddb/IDBRequest.h:165 > > + void refEventTarget() final { ThreadSafeRefCounted::ref(); } > > + void derefEventTarget() final { ThreadSafeRefCounted::deref(); } > > I think we usually just write ref() and deref() here; works because of the > using above. Indeed, fixed in <https://trac.webkit.org/changeset/248439>, thanks. It seems that this change fixed WinCairo flaky indexeddb test failures. Thank you! (In reply to Fujii Hironori from comment #12) > It seems that this change fixed WinCairo flaky indexeddb test failures. > Thank you! Nice :) |