summaryrefslogtreecommitdiff
path: root/chromium/cc/layers/mirror_layer_impl.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-08 13:13:08 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-03-16 15:20:15 +0100
commit9650eff615a19f2cda06760b2e475b24e8faae2b (patch)
treed6f721dc42817e673e31fd1dff72500d31762553 /chromium/cc/layers/mirror_layer_impl.h
parent293f42fdc453074c627a62829602421e0ff75be6 (diff)
downloadqtwebengine-chromium-9650eff615a19f2cda06760b2e475b24e8faae2b.tar.gz
Fix misuse of {} initialization
Narrowing is supposed to be forbidden in {} initialization, but Chromium doesn't appear to care upstream. Change-Id: Ia3d1dac6ef19ef86afcbeee4ed11d807c53faaaa Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/cc/layers/mirror_layer_impl.h')
-rw-r--r--chromium/cc/layers/mirror_layer_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/cc/layers/mirror_layer_impl.h b/chromium/cc/layers/mirror_layer_impl.h
index 54f5e14166c..fb2049659eb 100644
--- a/chromium/cc/layers/mirror_layer_impl.h
+++ b/chromium/cc/layers/mirror_layer_impl.h
@@ -55,7 +55,7 @@ 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(mirrored_layer_id());
}
int mirrored_layer_id_ = 0;