From 73878594818ac3782ebd5e3d1677f011454fb4f8 Mon Sep 17 00:00:00 2001 From: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com> Date: Tue, 23 May 2023 04:28:16 +0800 Subject: [PATCH] Again a two-word super tiny typo (flutter/engine#42181) Find this when reading source code today... Btw, what about introducing a spell checker to Flutter source code? ;) ## 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]. [Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview [Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style [testing the engine]: https://github.com/flutter/flutter/wiki/Testing-the-engine [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/wiki/Chat --- .../lib/ui/painting/display_list_deferred_image_gpu_impeller.h | 2 +- .../lib/ui/painting/display_list_deferred_image_gpu_skia.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/lib/ui/painting/display_list_deferred_image_gpu_impeller.h b/engine/src/flutter/lib/ui/painting/display_list_deferred_image_gpu_impeller.h index 7bcb279224..caed73a7c8 100644 --- a/engine/src/flutter/lib/ui/painting/display_list_deferred_image_gpu_impeller.h +++ b/engine/src/flutter/lib/ui/painting/display_list_deferred_image_gpu_impeller.h @@ -102,7 +102,7 @@ class DlDeferredImageGPUImpeller final : public DlImage { fml::RefPtr raster_task_runner); // If a layer tree is provided, it will be flattened during the raster - // thread task spwaned by this method. After being flattened into a display + // thread task spawned by this method. After being flattened into a display // list, the image wrapper will be updated to hold this display list and the // layer tree can be dropped. void SnapshotDisplayList(std::unique_ptr layer_tree = nullptr); diff --git a/engine/src/flutter/lib/ui/painting/display_list_deferred_image_gpu_skia.h b/engine/src/flutter/lib/ui/painting/display_list_deferred_image_gpu_skia.h index 4e3558fbe9..10c1e9cdba 100644 --- a/engine/src/flutter/lib/ui/painting/display_list_deferred_image_gpu_skia.h +++ b/engine/src/flutter/lib/ui/painting/display_list_deferred_image_gpu_skia.h @@ -122,7 +122,7 @@ class DlDeferredImageGPUSkia final : public DlImage { fml::RefPtr unref_queue); // If a layer tree is provided, it will be flattened during the raster - // thread task spwaned by this method. After being flattened into a display + // thread task spawned by this method. After being flattened into a display // list, the image wrapper will be updated to hold this display list and the // layer tree can be dropped. void SnapshotDisplayList(std::unique_ptr layer_tree = nullptr);