[webkit-changes] [WebKit/WebKit] 5e90e4: Replace DOMTimer's boolean oneShot argument with a...
Ryosuke Niwa
noreply at github.com
Sun Aug 6 17:32:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5e90e4cac5a25545360bcd6c167fae41690cd16d
https://github.com/WebKit/WebKit/commit/5e90e4cac5a25545360bcd6c167fae41690cd16d
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2023-08-06 (Sun, 06 Aug 2023)
Changed paths:
M Source/WebCore/dom/AbortSignal.cpp
M Source/WebCore/page/DOMTimer.cpp
M Source/WebCore/page/DOMTimer.h
M Source/WebCore/page/LocalDOMWindow.cpp
M Source/WebCore/workers/WorkerGlobalScope.cpp
Log Message:
-----------
Replace DOMTimer's boolean oneShot argument with an enum class for clarity
https://bugs.webkit.org/show_bug.cgi?id=259871
Reviewed by Matt Woodrow.
Replaced the boolean by an enum class Type for clarity.
* Source/WebCore/dom/AbortSignal.cpp:
(WebCore::AbortSignal::timeout):
* Source/WebCore/page/DOMTimer.cpp:
(WebCore::DOMTimer::DOMTimer):
(WebCore::DOMTimer::install):
* Source/WebCore/page/DOMTimer.h:
* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::LocalDOMWindow::setTimeout):
(WebCore::LocalDOMWindow::setInterval):
* Source/WebCore/workers/WorkerGlobalScope.cpp:
(WebCore::WorkerGlobalScope::setTimeout):
(WebCore::WorkerGlobalScope::setInterval):
Canonical link: https://commits.webkit.org/266630@main
More information about the webkit-changes
mailing list