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

[macOS] Change view ID's type to signed and a typedef #41653

Merged
merged 6 commits into from May 5, 2023

Conversation

dkwingsmt
Copy link
Contributor

@dkwingsmt dkwingsmt commented May 1, 2023

This PR changes the view ID type to int64_t and typedef it to FlutterViewId

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.

@loic-sharma
Copy link
Member

Do you plan to cherrypick this for the upcoming release? Otherwise this is a breaking change.

@dkwingsmt
Copy link
Contributor Author

Do you plan to cherrypick this for the upcoming release? Otherwise this is a breaking change.

Whether it's a breaking change also depends on whether we actually break anyone. In this case, I don't think anyone is using viewId or viewForId at all, since we're not supporting multi-view.

@dkwingsmt dkwingsmt requested a review from cbracken May 2, 2023 20:04
Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for the cleanup!

@dkwingsmt dkwingsmt changed the title [macOS] Remove view ID from public [macOS] Change view ID's type to signed and a typedef May 3, 2023
@dkwingsmt dkwingsmt merged commit e7cd291 into flutter:main May 5, 2023
30 checks passed
@dkwingsmt dkwingsmt deleted the remove-view-id-from-public branch May 5, 2023 06:09
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 5, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request May 5, 2023
…126135)

flutter/engine@a885ed4...e7cd291

2023-05-05 dkwingsmt@users.noreply.github.com [macOS] Change view ID's type to signed and a typedef (flutter/engine#41653)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants