Try to fix release build.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 13 May 2006 15:50:13 +0000 (15:50 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 13 May 2006 15:50:13 +0000 (15:50 +0000)
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::calcAbsoluteHorizontalValues): Initialize leftValue.
        This value will never be used, because 'left' and 'right' cannot both be 'auto'.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14355 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/rendering/RenderBox.cpp

index 33ca6cc50f1403a37698eb314f555f2a2a57ebc0..ca685df7471f3da53174f267fc6d2879a944c195 100644 (file)
@@ -1,3 +1,21 @@
+2006-05-13  Alexey Proskuryakov  <ap@nypop.com>
+
+        Try to 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'.
+
+2006-05-13  Alexey Proskuryakov  <ap@nypop.com>
+
+        Re-applied the fix for bug 8835 (REGRESSION: Line moves but selection
+        highlight stays behind) to a correct file; removed the stale one.
+
+        * rendering/RootInlineBox.cpp:
+        (WebCore::RootInlineBox::adjustPosition): Adjust m_selectionTop
+        and m_selectionBottom.
+        * rendering/render_line.cpp: Removed.
+
 2006-05-13  Rob Buis  <buis@kde.org>
 
         Reviewed by Darin, landed by ap.
index 80ceceeea8b409404317229d5fde1d5d24e633e9..924842df7c8162c0b5cd44a1f6abf070c2e48797 100644 (file)
@@ -1558,7 +1558,7 @@ void RenderBox::calcAbsoluteHorizontalValues(Length width, const RenderObject* c
     // converted to the static postion already
     ASSERT(!(left.isAuto() && right.isAuto()));
 
-    int leftValue;
+    int leftValue = 0;
 
     bool widthIsAuto = width.isIntrinsicOrAuto();
     bool leftIsAuto = left.isAuto();