summaryrefslogtreecommitdiffstats
path: root/chromium/cc/mojo_embedder/async_layer_tree_frame_sink.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-28 16:14:41 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-12-13 15:19:41 +0000
commit61d9742824d54be5693191fe502325a909feca59 (patch)
treecbf28e779b11338fe52eb75b915684cd8955542c /chromium/cc/mojo_embedder/async_layer_tree_frame_sink.h
parent45f9ded08bb7526984b24ccb5a5327aaf6821676 (diff)
BASELINE: Update Chromium to 108.0.5359.70
Change-Id: I77334ff232b819600f275bd3cfe41fbaa3619230 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/445904 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/cc/mojo_embedder/async_layer_tree_frame_sink.h')
-rw-r--r--chromium/cc/mojo_embedder/async_layer_tree_frame_sink.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/chromium/cc/mojo_embedder/async_layer_tree_frame_sink.h b/chromium/cc/mojo_embedder/async_layer_tree_frame_sink.h
index a2893a801ee..8d15c1e6ad7 100644
--- a/chromium/cc/mojo_embedder/async_layer_tree_frame_sink.h
+++ b/chromium/cc/mojo_embedder/async_layer_tree_frame_sink.h
@@ -1,4 +1,4 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
+// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -32,6 +32,9 @@
#include "services/viz/public/mojom/compositing/compositor_frame_sink.mojom.h"
namespace cc {
+
+class RasterContextProviderWrapper;
+
namespace mojo_embedder {
// A mojo-based implementation of LayerTreeFrameSink. The typically-used
@@ -73,10 +76,10 @@ class CC_MOJO_EMBEDDER_EXPORT AsyncLayerTreeFrameSink
base::PlatformThreadId io_thread_id = base::kInvalidThreadId;
};
- AsyncLayerTreeFrameSink(
- scoped_refptr<viz::ContextProvider> context_provider,
- scoped_refptr<viz::RasterContextProvider> worker_context_provider,
- InitParams* params);
+ AsyncLayerTreeFrameSink(scoped_refptr<viz::ContextProvider> context_provider,
+ scoped_refptr<RasterContextProviderWrapper>
+ worker_context_provider_wrapper,
+ InitParams* params);
AsyncLayerTreeFrameSink(const AsyncLayerTreeFrameSink&) = delete;
~AsyncLayerTreeFrameSink() override;