Changeset 275475 in webkit
- Timestamp:
- Apr 5, 2021 7:16:30 PM (3 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r275471 r275475 1 2021-04-05 Chris Dumez <cdumez@apple.com> 2 3 Make sure the Frame always gets destroyed on the main thread 4 https://bugs.webkit.org/show_bug.cgi?id=224213 5 <rdar://75131946> 6 7 Reviewed by Alex Christensen. 8 9 Make sure the Frame always gets destroyed on the main thread. 10 11 Since http://trac.webkit.org/changeset/181791, Frame is ThreadSafeRefCounted and captured 12 on other threads. We should make sure the Frame is always destroyed on the main thread 13 though, since it is a main thread object and we hold WeakPtrs to it in many places. 14 15 * page/AbstractFrame.h: 16 1 17 2021-04-05 Simon Fraser <simon.fraser@apple.com> 2 18 -
trunk/Source/WebCore/page/AbstractFrame.h
r269435 r275475 36 36 37 37 // FIXME: Rename Frame to LocalFrame and AbstractFrame to Frame. 38 class AbstractFrame : public ThreadSafeRefCounted<AbstractFrame >, public CanMakeWeakPtr<AbstractFrame> {38 class AbstractFrame : public ThreadSafeRefCounted<AbstractFrame, WTF::DestructionThread::Main>, public CanMakeWeakPtr<AbstractFrame> { 39 39 public: 40 40 virtual ~AbstractFrame();
Note: See TracChangeset
for help on using the changeset viewer.