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

Fixed the nullability annotation on codec writeValue: #35814

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

gaaclarke
Copy link
Member

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
Member

@jmagman jmagman left a comment

Choose a reason for hiding this comment

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

if (value == nil || value == [NSNull null]) {
[self writeByte:FlutterStandardFieldNil];
} else if ([value isKindOfClass:[NSNumber class]]) {

LGTM

@gaaclarke gaaclarke merged commit 08394d7 into flutter:main Sep 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 1, 2022
zanderso pushed a commit to flutter/flutter that referenced this pull request Sep 1, 2022
…110796)

* f30fed5ab Ignore all translations in Matrix::TransformDirection (flutter/engine#35854)

* d8928a0b6 [Impeller] More aggressively downscale gaussian blur textures (flutter/engine#35853)

* 5454c09a0 Roll Fuchsia Mac SDK from sgXD5SyRPOxGjWV4q... to VCkCQ9VaBkOXaOnQU... (flutter/engine#35858)

* 4ef0eb243 Roll Skia from d505b9445bf6 to 74d7dcaf7a4e (1 revision) (flutter/engine#35857)

* 5cab38584 Do frustum culling after the MSAA backdrop draw (flutter/engine#35847)

* 4e6bb5da5 Roll Skia from 74d7dcaf7a4e to ca89d2781f78 (1 revision) (flutter/engine#35859)

* 5dc718f92 Roll Skia from ca89d2781f78 to 8c7e99e0546e (2 revisions) (flutter/engine#35860)

* c3a956050 Roll Skia from 8c7e99e0546e to defbe6b80d7b (1 revision) (flutter/engine#35861)

* 1f7fe40d8 Roll Skia from defbe6b80d7b to d8a45111ba9a (1 revision) (flutter/engine#35862)

* f74d2439e Add function restoreToCount to Canvas. (flutter/engine#35798)

* 152228e27 Roll Skia from d8a45111ba9a to 97f1748bbfc0 (1 revision) (flutter/engine#35863)

* 08394d74c Fixed the nullability annotation on codec `writeValue:` (flutter/engine#35814)

* 185f4f595 Revert "roll CanvasKit to 0.36.1 (attempt 2) (#35839)" (flutter/engine#35864)
@gaaclarke
Copy link
Member Author

I thought we could get away with this not being a breaking change since I didn't see any of our tests failing. It has affected google customer tests though so we'll have to revert this and land it with manual roll.

see also b/244680558

gaaclarke added a commit to gaaclarke/engine that referenced this pull request Sep 2, 2022
gaaclarke added a commit that referenced this pull request Sep 2, 2022
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.

2 participants