summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2021-06-16 23:27:32 +0200
committerStephan Hartmann <sultan@gentoo.org>2021-06-16 23:27:59 +0200
commitc1ef113a9ac6be73c36b0a03fe87f20786c1d05b (patch)
treecd694ddcf145f53992c8a782205b920bfdd83de3 /www-client/chromium/files/chromium-93-InkDropHost-crash.patch
parentapp-emulation/qemu: remove unused patches (diff)
downloadgentoo-c1ef113a9ac6be73c36b0a03fe87f20786c1d05b.tar.gz
gentoo-c1ef113a9ac6be73c36b0a03fe87f20786c1d05b.tar.bz2
gentoo-c1ef113a9ac6be73c36b0a03fe87f20786c1d05b.zip
www-client/chromium: dev channel bump to 93.0.4542.2
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client/chromium/files/chromium-93-InkDropHost-crash.patch')
-rw-r--r--www-client/chromium/files/chromium-93-InkDropHost-crash.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-93-InkDropHost-crash.patch b/www-client/chromium/files/chromium-93-InkDropHost-crash.patch
new file mode 100644
index 000000000000..54d16db56cc2
--- /dev/null
+++ b/www-client/chromium/files/chromium-93-InkDropHost-crash.patch
@@ -0,0 +1,25 @@
+diff --git a/ui/views/animation/ink_drop_host_view.h b/ui/views/animation/ink_drop_host_view.h
+index bd0975b..e5df288 100644
+--- a/ui/views/animation/ink_drop_host_view.h
++++ b/ui/views/animation/ink_drop_host_view.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_;