Index: Source/WebCore/platform/chromium/PopupListBox.cpp |
diff --git a/Source/WebCore/platform/chromium/PopupListBox.cpp b/Source/WebCore/platform/chromium/PopupListBox.cpp |
index 3188a1021f485ad6095f5b64df9e95dbbee48d11..770164203195e53145206b49b4f44a74accf8bb6 100644 |
--- a/Source/WebCore/platform/chromium/PopupListBox.cpp |
+++ b/Source/WebCore/platform/chromium/PopupListBox.cpp |
@@ -626,7 +626,7 @@ void PopupListBox::setOriginalIndex(int index) |
int PopupListBox::getRowHeight(int index) |
{ |
int minimumHeight = PopupMenuChromium::minimumRowHeight(); |
- if (m_settings.deviceSupportsTouch) |
+ if (m_settings.primaryInputIsTouch) |
minimumHeight = max(minimumHeight, PopupMenuChromium::optionRowHeightForTouch()); |
if (index < 0 || m_popupClient->itemStyle(index).isDisplayNone()) |