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 d843d29162b0f2941283580ddfb6218e1a5e8c40..e1939d2810f9dbf8e66091459837246d84d0b66d 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
@@ -1518,6 +1518,9 @@ void HTMLSelectElement::ListBoxDefaultEventHandler(Event* event) { |
!mouse_event->ButtonDown()) |
return; |
+ if (LayoutObject* object = GetLayoutObject()) |
mstensho (USE GERRIT)
2017/04/26 09:46:28
I don't know if it matters, or if it's possible at
chrishtr
2017/04/26 23:11:06
StartAutoscrollForSelection will be a no-op if lay
mstensho (USE GERRIT)
2017/04/27 20:16:11
I was more thinking of the possibility of a layout
|
+ object->GetFrameView()->UpdateAllLifecyclePhasesExceptPaint(); |
+ |
if (Page* page = GetDocument().GetPage()) |
page->GetAutoscrollController().StartAutoscrollForSelection( |
GetLayoutObject()); |