Index: Source/core/html/HTMLSelectElement.cpp |
diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp |
index b86dc8c56508dfbfdb37d8968b4aed26c032f294..de2329d5d7f6800d1c0f793b5108d4d573efe592 100644 |
--- a/Source/core/html/HTMLSelectElement.cpp |
+++ b/Source/core/html/HTMLSelectElement.cpp |
@@ -1488,7 +1488,7 @@ void HTMLSelectElement::listBoxDefaultEventHandler(Event* event) |
} |
} |
} else if (event->type() == EventTypeNames::mouseup && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton && renderer()) { |
- if (document().page() && document().page()->autoscrollController().autoscrollInProgress(toRenderBox(renderer()))) |
+ if (document().page() && document().page()->autoscrollController().autoscrollInProgress(toLayoutBox(renderer()))) |
document().page()->autoscrollController().stopAutoscroll(); |
else |
handleMouseRelease(); |