Title: [95737] trunk/Source/WebCore
- Revision
- 95737
- Author
- timothy_hor...@apple.com
- Date
- 2011-09-22 10:52:44 -0700 (Thu, 22 Sep 2011)
Log Message
Unreviewed build fix (fixes warning about too many parens).
* rendering/RenderBox.cpp:
(WebCore::RenderBox::computePositionedLogicalWidthReplaced):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (95736 => 95737)
--- trunk/Source/WebCore/ChangeLog 2011-09-22 17:51:19 UTC (rev 95736)
+++ trunk/Source/WebCore/ChangeLog 2011-09-22 17:52:44 UTC (rev 95737)
@@ -1,3 +1,10 @@
+2011-09-22 Tim Horton <timothy_hor...@apple.com>
+
+ Unreviewed build fix (fixes warning about too many parens).
+
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
+
2011-09-22 Anders Carlsson <ander...@apple.com>
Widget::frameRect shouldn't be virtual
Modified: trunk/Source/WebCore/rendering/RenderBox.cpp (95736 => 95737)
--- trunk/Source/WebCore/rendering/RenderBox.cpp 2011-09-22 17:51:19 UTC (rev 95736)
+++ trunk/Source/WebCore/rendering/RenderBox.cpp 2011-09-22 17:52:44 UTC (rev 95737)
@@ -2951,7 +2951,7 @@
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);
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes