Title: [100447] trunk/Source/WebCore
Revision
100447
Author
commit-qu...@webkit.org
Date
2011-11-16 07:04:58 -0800 (Wed, 16 Nov 2011)

Log Message

Remove unnecessary if check from RenderListBox::paintItemForeground.
https://bugs.webkit.org/show_bug.cgi?id=72488

Patch by Antaryami Pandia <antaryami.pan...@motorola.com> on 2011-11-16
Reviewed by Andreas Kling.

* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::paintItemForeground):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (100446 => 100447)


--- trunk/Source/WebCore/ChangeLog	2011-11-16 15:00:10 UTC (rev 100446)
+++ trunk/Source/WebCore/ChangeLog	2011-11-16 15:04:58 UTC (rev 100447)
@@ -1,3 +1,13 @@
+2011-11-16  Antaryami Pandia  <antaryami.pan...@motorola.com>
+
+        Remove unnecessary if check from RenderListBox::paintItemForeground.
+        https://bugs.webkit.org/show_bug.cgi?id=72488
+
+        Reviewed by Andreas Kling.
+
+        * rendering/RenderListBox.cpp:
+        (WebCore::RenderListBox::paintItemForeground):
+
 2011-11-15  Simon Hausmann  <simon.hausm...@nokia.com>
 
         [Qt] Centralize hide_symbols and ensure all libs are built with symbol visibility & bsymbolic_functions

Modified: trunk/Source/WebCore/rendering/RenderListBox.cpp (100446 => 100447)


--- trunk/Source/WebCore/rendering/RenderListBox.cpp	2011-11-16 15:00:10 UTC (rev 100446)
+++ trunk/Source/WebCore/rendering/RenderListBox.cpp	2011-11-16 15:04:58 UTC (rev 100447)
@@ -420,8 +420,7 @@
     }
 
     // Draw the item text
-    if (itemStyle->visibility() != HIDDEN)
-        paintInfo.context->drawBidiText(itemFont, textRun, r.location());
+    paintInfo.context->drawBidiText(itemFont, textRun, r.location());
 }
 
 void RenderListBox::paintItemBackground(PaintInfo& paintInfo, const LayoutPoint& paintOffset, int listIndex)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to