diff options
author | Jonathan Schwender <55576758+jschwe@users.noreply.github.com> | 2024-07-23 09:58:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-23 07:58:54 +0000 |
commit | d46c66f9da1c24d1ce42a954136bb513431f9205 (patch) | |
tree | 8da85a54c16567bede1cf13118ca6dd1440dac2a /ports/servoshell/egl/ohos/simpleservo.rs | |
parent | 2a31e62e2c057e0a30a3d81eace031427ba1465e (diff) | |
download | servo-d46c66f9da1c24d1ce42a954136bb513431f9205.tar.gz servo-d46c66f9da1c24d1ce42a954136bb513431f9205.zip |
ohos: Bump ohos-sys to v0.2.1 (#32834)
* ohos: Use ohos-sys from crates.io
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* ohos: Bump ohos-sys to v0.2.1
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
---------
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 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ports/servoshell/egl/ohos/simpleservo.rs b/ports/servoshell/egl/ohos/simpleservo.rs index 4bda080a693..e23415940a2 100644 --- a/ports/servoshell/egl/ohos/simpleservo.rs +++ b/ports/servoshell/egl/ohos/simpleservo.rs @@ -8,9 +8,7 @@ use std::path::PathBuf; use std::rc::Rc; use log::{debug, error, info}; -use ohos_sys::ace::xcomponent::native_interface_xcomponent::{ - OH_NativeXComponent, OH_NativeXComponent_GetXComponentSize, -}; +use ohos_sys::xcomponent::{OH_NativeXComponent, OH_NativeXComponent_GetXComponentSize}; use servo::compositing::windowing::EmbedderEvent; use servo::compositing::CompositeTarget; use servo::embedder_traits::resources; |