mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 726988 - remove stray instances of PR_TRUE in WebGL. r=bjacob
This commit is contained in:
parent
026918c9c1
commit
36e957aa2c
@ -1140,8 +1140,8 @@ WebGLContext::Notify(nsITimer* timer)
|
||||
nsContentUtils::DispatchTrustedEvent(HTMLCanvasElement()->OwnerDoc(),
|
||||
(nsIDOMHTMLCanvasElement*) HTMLCanvasElement(),
|
||||
NS_LITERAL_STRING("webglcontextlost"),
|
||||
PR_TRUE,
|
||||
PR_TRUE,
|
||||
true,
|
||||
true,
|
||||
&defaultAction);
|
||||
|
||||
// If the script didn't handle the event, we don't allow restores.
|
||||
@ -1169,8 +1169,8 @@ WebGLContext::Notify(nsITimer* timer)
|
||||
nsContentUtils::DispatchTrustedEvent(HTMLCanvasElement()->OwnerDoc(),
|
||||
(nsIDOMHTMLCanvasElement*) HTMLCanvasElement(),
|
||||
NS_LITERAL_STRING("webglcontextrestored"),
|
||||
PR_TRUE,
|
||||
PR_TRUE);
|
||||
true,
|
||||
true);
|
||||
// Set all flags back to the state they were in before the context was
|
||||
// lost.
|
||||
mContextLostErrorSet = false;
|
||||
|
Loading…
Reference in New Issue
Block a user