-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove ENABLE_CSS_PAINTING_API build flag #26627
Remove ENABLE_CSS_PAINTING_API build flag #26627
Conversation
EWS run on previous version of this PR (hash 12c11a6) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"All ports are building with ENABLE_CSS_PAINTING_API
as ON
."
Warning klaxons: looks like this is completely wrong. It's disabled in all CMake ports except macOS (which doesn't matter because production macOS builds don't use CMake). ENABLE_EXPERIMENTAL_FEATURES
does not get turned on in releases and it probably hasn't been tested anywhere except buildbots.
I would do a separate commit first to enable the build flag, land that first, then remove the build flag. I think it should be safe because the runtime feature is also disabled everywhere except if experimental features are enabled, so in theory it shouldn't matter. But still safer to do in two stages.
12c11a6
to
515baac
Compare
EWS run on current version of this PR (hash 515baac) |
What is the rule for removing an
So why do we care about |
@shallawa myself and @annevk have been going through the list and removing Algorithmically it boils down to. Does the |
https://bugs.webkit.org/show_bug.cgi?id=271913 Reviewed by Said Abou-Hallawa and Michael Catanzaro. All ports are building with `ENABLE_CSS_PAINTING_API` as `ON`. Remove the build option and use the runtime option for controlling use. * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml: * Source/WTF/wtf/PlatformEnable.h: * Source/WebCore/bindings/js/JSPaintRenderingContext2DCustom.cpp: * Source/WebCore/bindings/js/JSPaintWorkletGlobalScopeCustom.cpp: * Source/WebCore/bindings/js/WebCoreJSClientData.cpp: * Source/WebCore/bindings/js/WebCoreJSClientData.h: * Source/WebCore/css/CSSPaintCallback.h: * Source/WebCore/css/CSSPaintCallback.idl: * Source/WebCore/css/CSSPaintImageValue.cpp: * Source/WebCore/css/CSSPaintImageValue.h: * Source/WebCore/css/CSSPaintSize.h: * Source/WebCore/css/CSSPaintSize.idl: * Source/WebCore/css/CSSValue.cpp: * Source/WebCore/css/CSSValue.h: * Source/WebCore/css/CSSValueKeywords.in: * Source/WebCore/css/DOMCSSNamespace+CSSPainting.idl: * Source/WebCore/css/DOMCSSPaintWorklet.cpp: * Source/WebCore/css/DOMCSSPaintWorklet.h: * Source/WebCore/css/parser/CSSParserContext.cpp: * Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp: * Source/WebCore/css/typedom/MainThreadStylePropertyMapReadOnly.cpp: * Source/WebCore/dom/Document.cpp: * Source/WebCore/dom/Document.h: * Source/WebCore/html/CustomPaintCanvas.cpp: * Source/WebCore/html/CustomPaintCanvas.h: * Source/WebCore/html/CustomPaintImage.cpp: * Source/WebCore/html/CustomPaintImage.h: * Source/WebCore/html/canvas/PaintRenderingContext2D.cpp: * Source/WebCore/html/canvas/PaintRenderingContext2D.h: * Source/WebCore/html/canvas/PaintRenderingContext2D.idl: * Source/WebCore/rendering/style/RenderStyle.cpp: * Source/WebCore/rendering/style/RenderStyle.h: * Source/WebCore/rendering/style/StyleImage.h: * Source/WebCore/rendering/style/StylePaintImage.cpp: * Source/WebCore/rendering/style/StylePaintImage.h: * Source/WebCore/style/StyleBuilder.cpp: * Source/WebCore/style/StyleBuilderState.cpp: * Source/WebCore/workers/WorkerOrWorkletScriptController.cpp: * Source/WebCore/worklets/PaintWorkletGlobalScope.cpp: * Source/WebCore/worklets/PaintWorkletGlobalScope.h: * Source/WebCore/worklets/PaintWorkletGlobalScope.idl: * Source/WebCore/worklets/WorkletGlobalScope.h: * Source/cmake/WebKitFeatures.cmake: * Tools/Scripts/webkitperl/FeatureList.pm: Canonical link: https://commits.webkit.org/277584@main
515baac
to
4d1720e
Compare
Committed 277584@main (4d1720e): https://commits.webkit.org/277584@main Reviewed commits have been landed. Closing PR #26627 and removing active labels. |
|
4d1720e
515baac