mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
Make sure to not return uninitialized stuff. Bug 232317, r+sr=jst
This commit is contained in:
parent
bc2c6161ab
commit
317cfcd106
@ -377,7 +377,7 @@ nsHTMLImageElement::GetY(PRInt32* aY)
|
||||
nsSize
|
||||
nsHTMLImageElement::GetWidthHeight()
|
||||
{
|
||||
nsSize size;
|
||||
nsSize size(0,0);
|
||||
|
||||
if (mDocument) {
|
||||
// Flush all pending notifications so that our frames are up to date.
|
||||
|
Loading…
Reference in New Issue
Block a user