Bug 203136

Summary: Refactor AbstractEventLoop out of WindowEventLoop
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: ScrollingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, dbates, esprehn+autocc, ews-watchlist, ggaren, kangil.han, koivisto, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 203137    
Attachments:
Description Flags
Cleanup koivisto: review+

Ryosuke Niwa
Reported 2019-10-17 21:48:37 PDT
This is to prepare for the addition of WorkerEventLoop, which is needed to integrate DOMTimer with HTML5 event loop.
Attachments
Cleanup (9.21 KB, patch)
2019-10-17 22:41 PDT, Ryosuke Niwa
koivisto: review+
Radar WebKit Bug Importer
Comment 1 2019-10-17 21:50:38 PDT
Ryosuke Niwa
Comment 2 2019-10-17 22:41:00 PDT
Antti Koivisto
Comment 3 2019-10-18 07:15:59 PDT
Comment on attachment 381274 [details] Cleanup View in context: https://bugs.webkit.org/attachment.cgi?id=381274&action=review > Source/WebCore/dom/AbstractEventLoop.h:40 > +class AbstractEventLoop : public RefCounted<AbstractEventLoop> { > + WTF_MAKE_FAST_ALLOCATED; RefCounted is WTF_MAKE_FAST_ALLOCATED by default. > Source/WebCore/dom/WindowEventLoop.h:37 > +class WindowEventLoop final : public AbstractEventLoop { > WTF_MAKE_FAST_ALLOCATED; Not needed here either.
Ryosuke Niwa
Comment 4 2019-10-18 15:49:12 PDT
(In reply to Antti Koivisto from comment #3) > Comment on attachment 381274 [details] > Cleanup > > View in context: > https://bugs.webkit.org/attachment.cgi?id=381274&action=review > > > Source/WebCore/dom/AbstractEventLoop.h:40 > > +class AbstractEventLoop : public RefCounted<AbstractEventLoop> { > > + WTF_MAKE_FAST_ALLOCATED; > > RefCounted is WTF_MAKE_FAST_ALLOCATED by default. Good point. Removed. > > Source/WebCore/dom/WindowEventLoop.h:37 > > +class WindowEventLoop final : public AbstractEventLoop { > > WTF_MAKE_FAST_ALLOCATED; > > Not needed here either. Ditto.
Ryosuke Niwa
Comment 5 2019-10-18 16:34:38 PDT
Note You need to log in before you can comment on or make changes to this bug.