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

[web] Use js_util.promiseToFuture with CanvasKitInit() #38128

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

mdebbar
Copy link
Contributor

@mdebbar mdebbar commented Dec 7, 2022

Instead of dealing with the JS Promise, let js_util convert it to a Future for us.

@flutter-dashboard flutter-dashboard bot added the platform-web Code specifically for the web engine label Dec 7, 2022
@flutter-dashboard
Copy link

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.

Copy link
Contributor

@harryterkelsen harryterkelsen left a comment

Choose a reason for hiding this comment

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

LGTM

@mdebbar mdebbar added the autosubmit Merge PR when tree becomes green via auto submit App label Dec 9, 2022
@auto-submit auto-submit bot merged commit 2121d81 into flutter:main Dec 9, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 9, 2022
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Dec 9, 2022
…116811)

* 2121d8187 [web] Use js_util.promiseToFuture with CanvasKitInit() (flutter/engine#38128)

* a259613ab Fix premature LayerStateStack layer culling (flutter/engine#38159)
loic-sharma pushed a commit to loic-sharma/flutter-engine that referenced this pull request Dec 16, 2022
loic-sharma pushed a commit to loic-sharma/flutter-engine that referenced this pull request Jan 3, 2023
@mdebbar mdebbar deleted the canvaskit_init_future branch January 17, 2023 18:11
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jan 19, 2023
…lutter#116811)

* 2121d8187 [web] Use js_util.promiseToFuture with CanvasKitInit() (flutter/engine#38128)

* a259613ab Fix premature LayerStateStack layer culling (flutter/engine#38159)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App needs tests platform-web Code specifically for the web engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants