[webkit-reviews] review denied: [Bug 207889] [macOS] Don't fire timers when there is a pending rendering update : [Attachment 391044] patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 18 11:07:59 PST 2020
Simon Fraser (smfr) <simon.fraser at apple.com> has denied review:
Bug 207889: [macOS] Don't fire timers when there is a pending rendering update
https://bugs.webkit.org/show_bug.cgi?id=207889
Attachment 391044: patch
https://bugs.webkit.org/attachment.cgi?id=391044&action=review
--- Comment #5 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 391044
--> https://bugs.webkit.org/attachment.cgi?id=391044
patch
View in context: https://bugs.webkit.org/attachment.cgi?id=391044&action=review
> Source/WebCore/dom/WindowEventLoop.cpp:161
> +void WindowEventLoop::spinForRenderingUpdate()
> +{
> + // FIXME: Also bail out from the task loop in EventLoop::run().
> + threadGlobalData().threadTimers().interruptFireLoopForRenderingUpdate();
> +}
I'm confused about the "spin" terminology. "Spin" could mean "block until
something happens", like spinlock, or it could mean "allow the event loop to
take a turn".
> Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:965
> + WebCore::WindowEventLoop::spinForRenderingUpdate();
Why is this up here in TiledCoreAnimationDrawingArea? That doesn't apply to
iOS. Shouldn't this mechanism be down in WebCore?
More information about the webkit-reviews
mailing list