Skip to content
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

Simplify the ColorSpaceUtils.singletons handling (PR 19564 follow-up) #19607

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

With the changes in PR #19564 the actual ColorSpace-classes where separated from the various static "helper" methods.
Hence it seems that we can now simplify/shorten this old code to instead cache the "standard" ColorSpaces directly on the ColorSpaceUtils-class.

@Snuffleupagus Snuffleupagus force-pushed the ColorSpaceUtils-rm-singletons branch from 2701aa6 to 87d5367 Compare March 5, 2025 12:13
@mozilla mozilla deleted a comment from moz-tools-bot Mar 5, 2025
@mozilla mozilla deleted a comment from moz-tools-bot Mar 5, 2025
@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/627abde770a514e/output.txt

@Snuffleupagus Snuffleupagus requested a review from calixteman March 5, 2025 12:36
@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/627abde770a514e/output.txt

Total script time: 29.51 mins

  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: Passed

Copy link
Contributor

@calixteman calixteman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you.

With the changes in PR 19564 the actual `ColorSpace`-classes where separated from the various static "helper" methods.
Hence it seems that we can now simplify/shorten this old code to instead cache the "standard" ColorSpaces directly on the `ColorSpaceUtils`-class.
@Snuffleupagus Snuffleupagus force-pushed the ColorSpaceUtils-rm-singletons branch from 87d5367 to d8d7235 Compare March 5, 2025 14:02
@Snuffleupagus
Copy link
Collaborator Author

/botio browsertest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_browsertest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/4266afda098d15e/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/4266afda098d15e/output.txt

Total script time: 16.63 mins

  • Regression tests: Passed

@Snuffleupagus Snuffleupagus merged commit c2fa554 into mozilla:master Mar 5, 2025
9 checks passed
@Snuffleupagus Snuffleupagus deleted the ColorSpaceUtils-rm-singletons branch March 5, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants