mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +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
|
nsSize
|
||||||
nsHTMLImageElement::GetWidthHeight()
|
nsHTMLImageElement::GetWidthHeight()
|
||||||
{
|
{
|
||||||
nsSize size;
|
nsSize size(0,0);
|
||||||
|
|
||||||
if (mDocument) {
|
if (mDocument) {
|
||||||
// Flush all pending notifications so that our frames are up to date.
|
// Flush all pending notifications so that our frames are up to date.
|
||||||
|
Loading…
Reference in New Issue
Block a user