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
Move BuilderState::createFilterOperations() to a separate file #5479
Move BuilderState::createFilterOperations() to a separate file #5479
Conversation
EWS run on previous version of this PR (hash 95331ac) |
95331ac
to
5d32e99
Compare
EWS run on previous version of this PR (hash 5d32e99) |
namespace WebCore { | ||
|
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.
This should go to Style namespace
namespace Style { | ||
enum class ForVisitedLink : bool; | ||
} |
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.
Everything should be in Style namespace
namespace WebCore { | ||
|
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.
Style namespace
#include "StyleBuilderState.h" | ||
#include "StyleColor.h" | ||
|
||
namespace WebCore { |
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.
This should be in WebCore::Style namespace
5d32e99
to
fb7622f
Compare
EWS run on current version of this PR (hash fb7622f) |
https://bugs.webkit.org/show_bug.cgi?id=246675 Reviewed by Antti Koivisto. Make this function a stand-alone function and make used by the CSS style builder. The plan is to use this function the 2D canvas for the filter API. * Source/WebCore/Sources.txt: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/css/CSSFilterImageValue.cpp: (WebCore::CSSFilterImageValue::createFilterOperations): * Source/WebCore/style/ColorFromPrimitiveValue.cpp: Added. (WebCore::colorFromPrimitiveValue): (WebCore::colorFromPrimitiveValueWithResolvedCurrentColor): * Source/WebCore/style/ColorFromPrimitiveValue.h: Added. * Source/WebCore/style/FilterOperationsBuilder.cpp: Added. (WebCore::filterOperationForType): (WebCore::createFilterOperations): * Source/WebCore/style/FilterOperationsBuilder.h: Added. * Source/WebCore/style/StyleBuilderConverter.h: (WebCore::Style::BuilderConverter::convertFilterOperations): * Source/WebCore/style/StyleBuilderState.cpp: (WebCore::Style::BuilderState::createFilterOperations): (WebCore::Style::BuilderState::colorFromPrimitiveValue const): (WebCore::Style::BuilderState::colorFromPrimitiveValueWithResolvedCurrentColor const): (WebCore::Style::filterOperationForType): Deleted. * Source/WebCore/style/StyleBuilderState.h: Canonical link: https://commits.webkit.org/255706@main
fb7622f
to
ea05e83
Compare
Committed 255706@main (ea05e83): https://commits.webkit.org/255706@main Reviewed commits have been landed. Closing PR #5479 and removing active labels. |
ea05e83
fb7622f
π π§ͺ winπ wincairoπ§ͺ ios-wk2π§ͺ api-gtkπ§ͺ mac-wk1π§ͺ mac-AS-debug-wk2