2006-05-13 Alexey Proskuryakov <ap@nypop.com>
- Try to fix release build.
+ Fix release build.
* rendering/RenderBox.cpp:
(WebCore::RenderBox::calcAbsoluteHorizontalValues): Initialize leftValue.
This value will never be used, because 'left' and 'right' cannot both be 'auto'.
(WebCore::RenderBox::calcAbsoluteVerticalValues): Initialize topValue.
+ (WebCore::RenderBox::calcAbsoluteVerticalReplaced): Same changes as above.
2006-05-13 Alexey Proskuryakov <ap@nypop.com>
* ('rtl'), set 'margin-left' ('margin-right') to zero and solve for
* 'margin-right' ('margin-left').
\*-----------------------------------------------------------------------*/
- int leftValue;
- int rightValue;
+ int leftValue = 0;
+ int rightValue = 0;
if (marginLeft.isAuto() && marginRight.isAuto()) {
// 'left' and 'right' cannot be 'auto' due to step 3
* 'auto', solve the equation under the extra constraint that the two
* margins must get equal values.
\*-----------------------------------------------------------------------*/
- int topValue;
- int bottomValue;
+ int topValue = 0;
+ int bottomValue = 0;
if (marginTop.isAuto() && marginBottom.isAuto()) {
// 'top' and 'bottom' cannot be 'auto' due to step 2 and 3 combinded.