From 894b4d0d94f3b602d5d424c955ff28d6bab4b893 Mon Sep 17 00:00:00 2001 From: "timothy_horton@apple.com" Date: Thu, 22 Sep 2011 17:52:44 +0000 Subject: [PATCH] Unreviewed build fix (fixes warning about too many parens). * rendering/RenderBox.cpp: (WebCore::RenderBox::computePositionedLogicalWidthReplaced): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95737 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebCore/ChangeLog | 7 +++++++ Source/WebCore/rendering/RenderBox.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index e03d39d..b103c68 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,10 @@ +2011-09-22 Tim Horton + + Unreviewed build fix (fixes warning about too many parens). + + * rendering/RenderBox.cpp: + (WebCore::RenderBox::computePositionedLogicalWidthReplaced): + 2011-09-22 Anders Carlsson Widget::frameRect shouldn't be virtual diff --git a/Source/WebCore/rendering/RenderBox.cpp b/Source/WebCore/rendering/RenderBox.cpp index 49f7bfa..b1f0f9a 100644 --- a/Source/WebCore/rendering/RenderBox.cpp +++ b/Source/WebCore/rendering/RenderBox.cpp @@ -2951,7 +2951,7 @@ void RenderBox::computePositionedLogicalWidthReplaced() logicalRightValue = logicalRight.calcValue(containerLogicalWidth); logicalLeftValue = logicalLeft.calcValue(containerLogicalWidth); // If the containing block is right-to-left, then push the left position as far to the right as possible - if ((containerDirection == RTL)) { + if (containerDirection == RTL) { int totalLogicalWidth = logicalWidth() + logicalLeftValue + logicalRightValue + marginLogicalLeftAlias + marginLogicalRightAlias; logicalLeftValue = containerLogicalWidth - (totalLogicalWidth - logicalLeftValue); } -- 2.7.4