* rendering/RenderBox.cpp:
(WebCore::RenderBox::computePositionedLogicalWidthReplaced):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95737
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-09-22 Tim Horton <timothy_horton@apple.com>
+
+ Unreviewed build fix (fixes warning about too many parens).
+
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
+
2011-09-22 Anders Carlsson <andersca@apple.com>
Widget::frameRect shouldn't be virtual
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);
}