aboutsummaryrefslogtreecommitdiffstats
path: root/ports/servoshell/egl/ohos/simpleservo.rs
diff options
context:
space:
mode:
authorJonathan Schwender <55576758+jschwe@users.noreply.github.com>2025-01-08 18:11:15 +0100
committerGitHub <noreply@github.com>2025-01-08 17:11:15 +0000
commita94c0c04a6fe6cda67b4b09eca4700c3e15e8d2a (patch)
tree15a9ec4f2d22ee653a243c52720bb26a92eb4d25 /ports/servoshell/egl/ohos/simpleservo.rs
parent9508bbfed1187676d493de135be853e49940eee3 (diff)
downloadservo-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.rs2
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;