aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/lib.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-05-28 14:48:55 +0200
committerGitHub <noreply@github.com>2024-05-28 12:48:55 +0000
commit02893770910bb1db27a5a3df80b0c98eeaa7d215 (patch)
treeff843804fa97f320f43eba6740ba6c76ace94b24 /components/compositing/lib.rs
parent277eb87cc038480d105234aa5f2b70c1c5725178 (diff)
downloadservo-02893770910bb1db27a5a3df80b0c98eeaa7d215.tar.gz
servo-02893770910bb1db27a5a3df80b0c98eeaa7d215.zip
Move `RenderingContext` to `webrender_traits` (#32386)
The `gfx_traits` crate is gradually become just about text and fonts and this is one of the few things there that is standing in the way of this. Eventually `webrender_traits` will be the general cross-process compositor API, so this sort of makes sense as well.
Diffstat (limited to 'components/compositing/lib.rs')
-rw-r--r--components/compositing/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/compositing/lib.rs b/components/compositing/lib.rs
index 1be60c17691..d28e5e853b4 100644
--- a/components/compositing/lib.rs
+++ b/components/compositing/lib.rs
@@ -8,10 +8,10 @@ use std::rc::Rc;
use compositing_traits::{CompositorProxy, CompositorReceiver, ConstellationMsg};
use crossbeam_channel::Sender;
-use gfx::rendering_context::RenderingContext;
use profile_traits::{mem, time};
use webrender::RenderApi;
use webrender_api::DocumentId;
+use webrender_traits::RenderingContext;
pub use crate::compositor::{CompositeTarget, IOCompositor, ShutdownState};