Skip to content

Commit

Permalink
[threaded-animation-resolution] remove WEBCORE_EXPORT for some blend(…
Browse files Browse the repository at this point in the history
…) methods

https://bugs.webkit.org/show_bug.cgi?id=270443
rdar://124007704

Reviewed by Anne van Kesteren.

Since blending is actually performed in WebCore, we don't need WEBCORE_EXPORT for
blending `PathOperation` and `OffsetRotation` values.

* Source/WebCore/rendering/PathOperation.h:
* Source/WebCore/rendering/style/OffsetRotation.h:

Canonical link: https://commits.webkit.org/275634@main
  • Loading branch information
graouts committed Mar 4, 2024
1 parent bcdf230 commit e6c8b88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/WebCore/rendering/PathOperation.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class RayPathOperation final : public PathOperation {
const LengthPoint& position() const { return m_position; }

WEBCORE_EXPORT bool canBlend(const PathOperation&) const final;
WEBCORE_EXPORT RefPtr<PathOperation> blend(const PathOperation*, const BlendingContext&) const final;
RefPtr<PathOperation> blend(const PathOperation*, const BlendingContext&) const final;

double lengthForPath() const;
double lengthForContainPath(const FloatRect& elementRect, double computedPathLength) const;
Expand Down
2 changes: 1 addition & 1 deletion Source/WebCore/rendering/style/OffsetRotation.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class OffsetRotation {
float angle() const { return m_angle; }

bool canBlend(const OffsetRotation&) const;
WEBCORE_EXPORT OffsetRotation blend(const OffsetRotation&, const BlendingContext&) const;
OffsetRotation blend(const OffsetRotation&, const BlendingContext&) const;

friend bool operator==(const OffsetRotation&, const OffsetRotation&) = default;

Expand Down

0 comments on commit e6c8b88

Please sign in to comment.