-
Notifications
You must be signed in to change notification settings - Fork 6k
Clear platform view caches at begin frame in unittest #36214
Clear platform view caches at begin frame in unittest #36214
Conversation
| double device_pixel_ratio, | ||
| fml::RefPtr<fml::RasterThreadMerger> raster_thread_merger) {} | ||
| fml::RefPtr<fml::RasterThreadMerger> raster_thread_merger) { | ||
| visited_platform_views_.clear(); |
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.
Should current_composition_params_ and mutators_stacks_ also be cleared?
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.
True, fixed.
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
This regex could be updated to match: |
jmagman
left a comment
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.
Was this causing test issues? Or did you just notice it was missing?
|
test-exempt: is a test I recommend updating the bot as suggested by @jmagman to avoid needing to wait on me in the future |
|
There have been recent flakes in This was found while looking into that test. |
jmagman
left a comment
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.
LGTM
|
auto label is removed for flutter/engine, pr: 36214, due to - The status or check suite Linux Framework Smoke Tests has failed. Please fix the issues identified (or deflake) before re-applying this label. |
|
Not sure why the framework |
f84b4b8 to
072ec26
Compare
Clears the
visited_platform_views_,mutators_stacks_,current_composition_params_at beginFrame inShellTestExternalViewEmbedderPre-launch Checklist
writing and running engine tests.
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.