Fix build bustage in NPOTB code from the patch for bug 416534.

This commit is contained in:
peterv@propagandism.org 2008-02-27 01:44:45 -08:00
parent 26de5ff636
commit 4a2837378e

View File

@ -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;