mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fixing bug 470992. Fix incorrect argument type in nsGlobalWindow::SetTimeout/Interval(). r+sr=mrbkap@gmail.com
This commit is contained in:
parent
780d7a3c83
commit
84a33176cf
@ -144,13 +144,6 @@ interface nsIDOMWindowInternal : nsIDOMWindow2
|
||||
void resizeBy(in long widthDif, in long heightDif);
|
||||
void scroll(in long xScroll, in long yScroll);
|
||||
|
||||
//void clearTimeout(in long timerID);
|
||||
//void clearInterval(in long timerID);
|
||||
//[noscript] long setTimeout(/* in function,
|
||||
// in unsigned long timeout */);
|
||||
//[noscript] long setInterval(/* in function,
|
||||
// in unsigned long timeout */);
|
||||
|
||||
/**
|
||||
* Open a new window with this one as the parent. This method will
|
||||
* NOT examine the JS stack for purposes of determining a caller.
|
||||
|
@ -4682,13 +4682,13 @@ nsGlobalWindow::ClearInterval()
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsGlobalWindow::SetTimeout(PRBool *_retval)
|
||||
nsGlobalWindow::SetTimeout(PRInt32 *_retval)
|
||||
{
|
||||
return SetTimeoutOrInterval(PR_FALSE, _retval);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsGlobalWindow::SetInterval(PRBool *_retval)
|
||||
nsGlobalWindow::SetInterval(PRInt32 *_retval)
|
||||
{
|
||||
return SetTimeoutOrInterval(PR_TRUE, _retval);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user