diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-03 23:21:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-03 23:21:12 +0100 |
commit | 979898cb45139dd0e6727a01df15b602f74a8dd3 (patch) | |
tree | 6c18ca0165dc1a0477e0c9c9253c98f03f26da67 /www-client/chromium/files | |
parent | 09f46eb2a6639c039b0b4268a8410d93bbf14e9e (diff) |
gentoo auto-resync : 03:04:2023 - 23:21:12
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r-- | www-client/chromium/files/chromium-111-InkDropHost-crash.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-111-InkDropHost-crash.patch b/www-client/chromium/files/chromium-111-InkDropHost-crash.patch new file mode 100644 index 000000000000..21dd8e41b8c8 --- /dev/null +++ b/www-client/chromium/files/chromium-111-InkDropHost-crash.patch @@ -0,0 +1,25 @@ +https://chromium-review.googlesource.com/c/chromium/src/+/2959890 + +--- a/ui/views/animation/ink_drop_host.h ++++ b/ui/views/animation/ink_drop_host.h +@@ -238,6 +238,11 @@ class VIEWS_EXPORT InkDropHost { + // Used to observe View and inform the InkDrop of host-transform changes. + ViewLayerTransformObserver host_view_transform_observer_; + ++ // Declared before |ink_drop_|, because InkDropImpl may call ++ // RemoveInkDropLayer on partly destructed InkDropHost. In ++ // that case |ink_drop_mask_| must be still valid. ++ std::unique_ptr<views::InkDropMask> ink_drop_mask_; ++ + // Should not be accessed directly. Use GetInkDrop() instead. + std::unique_ptr<InkDrop> ink_drop_; + +@@ -261,8 +266,6 @@ class VIEWS_EXPORT InkDropHost { + int ink_drop_small_corner_radius_ = 2; + int ink_drop_large_corner_radius_ = 4; + +- std::unique_ptr<views::InkDropMask> ink_drop_mask_; +- + base::RepeatingCallback<std::unique_ptr<InkDrop>()> create_ink_drop_callback_; + base::RepeatingCallback<std::unique_ptr<InkDropRipple>()> + create_ink_drop_ripple_callback_; |