Boris, you're right. But somehow I still don't get it. I've changed

  nsRefPtr<nsScriptLoadRequest> myRequest;
  myRequest->mElement = aElement;
  nsCOMPtr<Element> currentScriptElem = do_QueryInterface(myRequest->mElement); 

to

  nsCOMPtr<Element> currentScriptElem = do_QueryInterface(aElement);

and still get the same error. Isn't this, what you mean by "QI the argument 
directly"? I mean, how could this dereference request?

Jeremy
_______________________________________________
dev-security mailing list
dev-security@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-security

Reply via email to