mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix build bustage in NPOTB code from the patch for bug 416534.
This commit is contained in:
parent
26de5ff636
commit
4a2837378e
@ -715,7 +715,7 @@ nsCanvasRenderingContextGLPrivate::DoDrawImageSecurityCheck(nsIURI* aURI, PRBool
|
||||
fprintf (stderr, "DoDrawImageSecuritycheck this 4: %p\n", this);
|
||||
nsCOMPtr<nsINode> elem = do_QueryInterface(mCanvasElement);
|
||||
if (elem) {
|
||||
rv = elem->NodePrincipal()->CheckMayLoad(aURI);
|
||||
rv = elem->NodePrincipal()->CheckMayLoad(aURI, PR_TRUE);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
// Same origin
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user