mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Pass Option<JSVal> for optional JSVals.
This commit is contained in:
parent
134d1f6fe3
commit
971a4c58bb
4 changed files with 21 additions and 3 deletions
|
@ -207,7 +207,7 @@ impl Window {
|
|||
pub fn Print(&self) {
|
||||
}
|
||||
|
||||
pub fn ShowModalDialog(&self, _cx: *JSContext, _url: DOMString, _argument: JSVal) -> JSVal {
|
||||
pub fn ShowModalDialog(&self, _cx: *JSContext, _url: DOMString, _argument: Option<JSVal>) -> JSVal {
|
||||
JSVAL_NULL
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue