mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix build error with enable_backup_ref_ptr_instance_tracer=true
See https://crbug.com/387277990
This commit is contained in:
26
patch/patches/cc_layer_387277990.patch
Normal file
26
patch/patches/cc_layer_387277990.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
diff --git cc/layers/layer.cc cc/layers/layer.cc
|
||||
index f51e5495d95f5..cd6c1bb02f50c 100644
|
||||
--- cc/layers/layer.cc
|
||||
+++ cc/layers/layer.cc
|
||||
@@ -50,16 +50,18 @@ struct SameSizeAsLayer : public base::RefCounted<SameSizeAsLayer>,
|
||||
SameSizeAsLayer();
|
||||
~SameSizeAsLayer() override;
|
||||
|
||||
- void* pointers[4];
|
||||
+ raw_ptr<void> raw_pointers[2];
|
||||
+ std::unique_ptr<void> unique_pointers[2];
|
||||
|
||||
struct {
|
||||
LayerList children;
|
||||
gfx::Size bounds;
|
||||
- unsigned bitfields;
|
||||
+ HitTestOpaqueness hit_test_opaqueness;
|
||||
+ bool bitfields;
|
||||
SkColor4f background_color;
|
||||
TouchActionRegion touch_action_region;
|
||||
ElementId element_id;
|
||||
- raw_ptr<void> rare_inputs;
|
||||
+ std::unique_ptr<void> rare_inputs;
|
||||
} inputs;
|
||||
gfx::Rect update_rect;
|
||||
int int_fields[7];
|
Reference in New Issue
Block a user