aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <infra@servo.org>2023-05-23 00:14:45 +0200
committerGitHub <noreply@github.com>2023-05-23 00:14:45 +0200
commita4f936cd726ee4671d1544355a57d36eb2b31f4e (patch)
tree5f1410bb96ad04f0a5ea6eb2d124ee2f0ec6b50a
parentd1bb22dca616f2f89d2730a33714673a6cedcd9e (diff)
parent0f3e17818b0699625afcde8a1375a8b97644b722 (diff)
downloadservo-a4f936cd726ee4671d1544355a57d36eb2b31f4e.tar.gz
servo-a4f936cd726ee4671d1544355a57d36eb2b31f4e.zip
Auto merge of #29771 - michaelgrigoryan25:libmlservo#29768, r=jdm
Fix #29768 <!-- Please describe your changes on the following line: --> Fixes #29768. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #29768 (GitHub issue number if applicable) <!-- Either: --> <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
-rw-r--r--ports/libmlservo/src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/ports/libmlservo/src/lib.rs b/ports/libmlservo/src/lib.rs
index cbf85105e64..f18136d2dea 100644
--- a/ports/libmlservo/src/lib.rs
+++ b/ports/libmlservo/src/lib.rs
@@ -170,14 +170,12 @@ pub unsafe extern "C" fn init_servo(
let opts = InitOptions {
args,
- url: Some(url.to_string()),
density: hidpi,
- enable_subpixel_text_antialiasing: false,
- vr_init,
xr_discovery,
coordinates,
gl_context_pointer: Some(ctxt),
native_display_pointer: Some(disp),
+ ..Default::default()
};
let wakeup = Box::new(EventLoopWakerInstance);
let shut_down_complete = Rc::new(Cell::new(false));