Title: [151154] trunk/Source/WebCore
Revision
151154
Author
[email protected]
Date
2013-06-03 22:09:48 -0700 (Mon, 03 Jun 2013)

Log Message

Remove unused arithmetic operation in RenderListItem
https://bugs.webkit.org/show_bug.cgi?id=117175

Reviewed by Brent Fulgham.

Variable 'markerLogicalLeft' is reassigned a value before the old one has been used.

* rendering/RenderListItem.cpp:
(WebCore::RenderListItem::positionListMarker):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (151153 => 151154)


--- trunk/Source/WebCore/ChangeLog	2013-06-04 05:01:38 UTC (rev 151153)
+++ trunk/Source/WebCore/ChangeLog	2013-06-04 05:09:48 UTC (rev 151154)
@@ -1,3 +1,15 @@
+2013-06-03  Kangil Han  <[email protected]>
+
+        Remove unused arithmetic operation in RenderListItem
+        https://bugs.webkit.org/show_bug.cgi?id=117175
+
+        Reviewed by Brent Fulgham.
+
+        Variable 'markerLogicalLeft' is reassigned a value before the old one has been used.
+
+        * rendering/RenderListItem.cpp:
+        (WebCore::RenderListItem::positionListMarker):
+
 2013-06-03  Roger Fong  <[email protected]>
 
         Unreviewed. Some AppleWin VS2010 house cleaning.

Modified: trunk/Source/WebCore/rendering/RenderListItem.cpp (151153 => 151154)


--- trunk/Source/WebCore/rendering/RenderListItem.cpp	2013-06-04 05:01:38 UTC (rev 151153)
+++ trunk/Source/WebCore/rendering/RenderListItem.cpp	2013-06-04 05:09:48 UTC (rev 151154)
@@ -360,7 +360,6 @@
                     hitSelfPaintingLayer = true;
             }
         } else {
-            markerLogicalLeft = m_marker->logicalLeft() + paddingStart() + borderStart() + m_marker->marginEnd();
             LayoutUnit rightLineOffset = logicalRightOffsetForLine(blockOffset, logicalRightOffsetForLine(blockOffset, false), false);
             markerLogicalLeft = rightLineOffset - lineOffset + paddingStart() + borderStart() + m_marker->marginEnd();
             m_marker->inlineBoxWrapper()->adjustLineDirectionPosition(markerLogicalLeft - markerOldLogicalLeft);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to