diff options
author | Jonathan Schwender <55576758+jschwe@users.noreply.github.com> | 2025-01-08 18:11:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-08 17:11:15 +0000 |
commit | a94c0c04a6fe6cda67b4b09eca4700c3e15e8d2a (patch) | |
tree | 15a9ec4f2d22ee653a243c52720bb26a92eb4d25 /ports/servoshell/egl/ohos/simpleservo.rs | |
parent | 9508bbfed1187676d493de135be853e49940eee3 (diff) | |
download | servo-a94c0c04a6fe6cda67b4b09eca4700c3e15e8d2a.tar.gz servo-a94c0c04a6fe6cda67b4b09eca4700c3e15e8d2a.zip |
Update xcomponent-sys to 0.2.0 (#34898)
Use xcomponent exclusively via `xcomponent_sys` instead of
using some of the APIs from ohos-sys.
ohos-sys simply re-exports xcomponent-sys,
so using both makes updating either difficult.
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Diffstat (limited to 'ports/servoshell/egl/ohos/simpleservo.rs')
-rw-r--r-- | ports/servoshell/egl/ohos/simpleservo.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/servoshell/egl/ohos/simpleservo.rs b/ports/servoshell/egl/ohos/simpleservo.rs index 54bfccc8f3c..d1c153ac2e6 100644 --- a/ports/servoshell/egl/ohos/simpleservo.rs +++ b/ports/servoshell/egl/ohos/simpleservo.rs @@ -8,7 +8,6 @@ use std::path::PathBuf; use std::rc::Rc; use log::{debug, error, info}; -use ohos_sys::xcomponent::{OH_NativeXComponent, OH_NativeXComponent_GetXComponentSize}; use servo::base::id::WebViewId; use servo::compositing::windowing::EmbedderEvent; use servo::compositing::CompositeTarget; @@ -24,6 +23,7 @@ use servo::servo_url::ServoUrl; use servo::webrender_traits::RenderingContext; use servo::{self, Servo}; use surfman::{Connection, SurfaceType}; +use xcomponent_sys::{OH_NativeXComponent, OH_NativeXComponent_GetXComponentSize}; use crate::egl::host_trait::HostTrait; use crate::egl::ohos::resources::ResourceReaderInstance; |