Index: third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
index 7e64174696809ed278f35d08894a66d02bb80d36..d843d29162b0f2941283580ddfb6218e1a5e8c40 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
@@ -1495,7 +1495,7 @@ void HTMLSelectElement::ListBoxDefaultEventHandler(Event* event) { |
// Convert to coords relative to the list box if needed. |
MouseEvent* mouse_event = ToMouseEvent(event); |
if (HTMLOptionElement* option = EventTargetOption(*mouse_event)) { |
- if (!IsDisabledFormControl()) { |
+ if (!option->IsDisabledFormControl()) { |
#if OS(MACOSX) |
UpdateSelectedState(option, mouse_event->metaKey(), |
mouse_event->shiftKey()); |