From: ap Date: Sat, 13 May 2006 15:50:13 +0000 (+0000) Subject: Try to fix release build. X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=a2be7748c20efcfa44adc4de96bfb9856f349d3b 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'. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14355 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog index 33ca6cc50f14..ca685df7471f 100644 --- a/WebCore/ChangeLog +++ b/WebCore/ChangeLog @@ -1,3 +1,21 @@ +2006-05-13 Alexey Proskuryakov + + 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 + + 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 Reviewed by Darin, landed by ap. diff --git a/WebCore/rendering/RenderBox.cpp b/WebCore/rendering/RenderBox.cpp index 80ceceeea8b4..924842df7c81 100644 --- a/WebCore/rendering/RenderBox.cpp +++ b/WebCore/rendering/RenderBox.cpp @@ -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();