Same fix for calcAbsoluteVerticalValues().
[WebKit-https.git] / WebCore / rendering / RenderBox.cpp
index 924842df7c8162c0b5cd44a1f6abf070c2e48797..4d21917eeb1792f5dac8b223667198459c35a9b9 100644 (file)
@@ -1831,7 +1831,7 @@ void RenderBox::calcAbsoluteVerticalValues(Length height, const RenderObject* co
 
     int contentHeight = m_height - bordersPlusPadding;    
 
-    int topValue;
+    int topValue = 0;
 
     bool heightIsAuto = height.isAuto();
     bool topIsAuto = top.isAuto();