Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Fix the false failure caused by FlutterClippingMaskViewPool's random algorithm #42079

Closed
wants to merge 3 commits into from

Conversation

dkwingsmt
Copy link
Contributor

Fixes flutter/flutter#126951

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Copy link
Contributor

@cyanglaz cyanglaz left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for fixing this. I think @hellohuanlin's suggestion is a good one to add before landing this!

@cyanglaz
Copy link
Contributor

@dkwingsmt I'm planning to cherry pick the maskview pool commit when it lands.
Would it be easier if I adopt this change into my re-land PR? (So we can cherry-pick one commit directly instead of consolidate the 2 into 1)

Re-land PR: #42115 (review)

@dkwingsmt
Copy link
Contributor Author

@cyanglaz Yeah sure!

@dkwingsmt
Copy link
Contributor Author

Feel free to close this PR after you've merged this one into yours.

@chinmaygarde
Copy link
Member

The linked PRs description says "This needs to be landed after #42079". Does this still need to be landed?

@dkwingsmt
Copy link
Contributor Author

dkwingsmt commented May 18, 2023

@chinmaygarde Nope. I've closed this one. But #42115 needs to be merged with this PR before merging.

@dkwingsmt dkwingsmt closed this May 18, 2023
@dkwingsmt dkwingsmt deleted the fix-random-view branch May 18, 2023 20:33
auto-submit bot pushed a commit that referenced this pull request May 22, 2023
…plying mutators #41573" (#42115)

The original PR (#41573) was reverted due to flutter/flutter#126951

The issue will be fixed in #42079

This needs to be landed after #42079

fixes: flutter/flutter#125620

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FlutterPlatformViews might trigger false failure with its new pooling algorithm
4 participants