mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Fixing regression bug 69716. Make nsHTMLImageElement::GetImageFrame() always initialize the out parameter. r=heikki@netscape.com, sr=hyatt@netscape.com
This commit is contained in:
parent
e3d6f6b0bf
commit
6a4e2b50c7
@ -245,6 +245,9 @@ NS_IMPL_INT_ATTR(nsHTMLImageElement, Vspace, vspace)
|
||||
nsresult
|
||||
nsHTMLImageElement::GetImageFrame(nsIImageFrame** aImageFrame)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aImageFrame);
|
||||
*aImageFrame = nsnull;
|
||||
|
||||
nsresult result;
|
||||
nsCOMPtr<nsIPresContext> context;
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
|
Loading…
Reference in New Issue
Block a user