Skip to content

Instantly share code, notes, and snippets.

@Slow3000
Created November 2, 2011 17:24
Show Gist options
  • Save Slow3000/1334288 to your computer and use it in GitHub Desktop.
Save Slow3000/1334288 to your computer and use it in GitHub Desktop.
Webkit trunk on harmattan build fix
diff --git a/Source/WebCore/html/HTMLSelectElement.cpp b/Source/WebCore/html/HTMLSelectElement.cpp
index 4986288..2d7fbe7 100644
--- a/Source/WebCore/html/HTMLSelectElement.cpp
+++ b/Source/WebCore/html/HTMLSelectElement.cpp
@@ -171,7 +171,7 @@ bool HTMLSelectElement::valueMissing() const
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();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment