Title: [99079] trunk/Source/WebCore
Revision
99079
Author
[email protected]
Date
2011-11-02 10:54:41 -0700 (Wed, 02 Nov 2011)

Log Message

[Qt] Fix the build with NO_LISTBOX_RENDERING

Unreviewed build fix after r99035.

Patch by Michael Bruning <[email protected]>

No new tests needed.

* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::listBoxSelectItem):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (99078 => 99079)


--- trunk/Source/WebCore/ChangeLog	2011-11-02 17:52:05 UTC (rev 99078)
+++ trunk/Source/WebCore/ChangeLog	2011-11-02 17:54:41 UTC (rev 99079)
@@ -1,3 +1,16 @@
+2011-11-02  Andras Becsi  <[email protected]>
+
+        [Qt] Fix the build with NO_LISTBOX_RENDERING
+
+        Unreviewed build fix after r99035.
+
+        Patch by Michael Bruning <[email protected]>
+
+        No new tests needed.
+
+        * html/HTMLSelectElement.cpp:
+        (WebCore::HTMLSelectElement::listBoxSelectItem):
+
 2011-10-28  Ryosuke Niwa  <[email protected]>
 
         div { display: none; } makes pasting into text fields impossible

Modified: trunk/Source/WebCore/html/HTMLSelectElement.cpp (99078 => 99079)


--- trunk/Source/WebCore/html/HTMLSelectElement.cpp	2011-11-02 17:52:05 UTC (rev 99078)
+++ trunk/Source/WebCore/html/HTMLSelectElement.cpp	2011-11-02 17:54:41 UTC (rev 99079)
@@ -171,7 +171,7 @@
 void HTMLSelectElement::listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow)
 {
     if (!multiple())
-        setSelectedIndexByUser(listToOptionIndex(listIndex), true, fireOnChangeNow);
+        optionSelectedByUser(listToOptionIndex(listIndex), fireOnChangeNow, false);
     else {
         updateSelectedState(listIndex, allowMultiplySelections, shift);
         setNeedsValidityCheck();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to