mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
initialize member variables to 0
This commit is contained in:
parent
9938e484a0
commit
1971412a64
@ -79,6 +79,10 @@ struct nsReflowMetrics {
|
||||
maxElementSize = aMaxElementSize;
|
||||
posTopMargin = 0;
|
||||
posBottomMargin = 0;
|
||||
width = 0;
|
||||
height = 0;
|
||||
ascent = 0;
|
||||
descent = 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -79,6 +79,10 @@ struct nsReflowMetrics {
|
||||
maxElementSize = aMaxElementSize;
|
||||
posTopMargin = 0;
|
||||
posBottomMargin = 0;
|
||||
width = 0;
|
||||
height = 0;
|
||||
ascent = 0;
|
||||
descent = 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user