summaryrefslogtreecommitdiff
path: root/devel/electron27/files/patch-cc_layers_mirror__layer__impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron27/files/patch-cc_layers_mirror__layer__impl.h')
-rw-r--r--devel/electron27/files/patch-cc_layers_mirror__layer__impl.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron27/files/patch-cc_layers_mirror__layer__impl.h b/devel/electron27/files/patch-cc_layers_mirror__layer__impl.h
new file mode 100644
index 000000000000..12f0b8952f47
--- /dev/null
+++ b/devel/electron27/files/patch-cc_layers_mirror__layer__impl.h
@@ -0,0 +1,20 @@
+--- cc/layers/mirror_layer_impl.h.orig 2023-12-07 21:19:00 UTC
++++ cc/layers/mirror_layer_impl.h
+@@ -5,6 +5,7 @@
+ #ifndef CC_LAYERS_MIRROR_LAYER_IMPL_H_
+ #define CC_LAYERS_MIRROR_LAYER_IMPL_H_
+
++#include <cstdint>
+ #include <memory>
+
+ #include "base/memory/ptr_util.h"
+@@ -56,7 +57,8 @@ class CC_EXPORT MirrorLayerImpl : public LayerImpl {
+ private:
+ const char* LayerTypeAsString() const override;
+ viz::CompositorRenderPassId mirrored_layer_render_pass_id() const {
+- return viz::CompositorRenderPassId{mirrored_layer_id()};
++ return viz::CompositorRenderPassId{
++ static_cast<uint64_t>(mirrored_layer_id())};
+ }
+
+ int mirrored_layer_id_ = 0;