Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 77c067951b8264aed906fd9c276c2baf5c6494e4
https://github.com/WebKit/WebKit/commit/77c067951b8264aed906fd9c276c2baf5c6494e4
Author: Ryosuke Niwa <[email protected]>
Date: 2023-05-04 (Thu, 04 May 2023)
Changed paths:
M Source/WebCore/dom/Document.cpp
Log Message:
-----------
Document::updateStyleIfNeeded() should instantiate
ScriptDisallowedScope::InMainThread for its entirety
https://bugs.webkit.org/show_bug.cgi?id=256346
Reviewed by Simon Fraser.
Add ScriptDisallowedScope::InMainThread for the entirety of updateStyleIfNeeded
instead of asserting that isSafeToUpdateStyleOrLayout returns true.
* Source/WebCore/dom/Document.cpp:
(WebCore::isSafeToUpdateLayout): Renamed from isSafeToUpdateStyleOrLayout.
(WebCore::Document::updateStyleIfNeeded):
(WebCore::Document::updateLayout):
Canonical link: https://commits.webkit.org/263708@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes