Index: Source/WebKit/chromium/src/WebViewImpl.cpp |
diff --git a/Source/WebKit/chromium/src/WebViewImpl.cpp b/Source/WebKit/chromium/src/WebViewImpl.cpp |
index 17a5ed0cd861648e343cfc9af243bca9bc5539d1..f6a5dd26f15fe2fe442440ec81ba97911d15f7aa 100644 |
--- a/Source/WebKit/chromium/src/WebViewImpl.cpp |
+++ b/Source/WebKit/chromium/src/WebViewImpl.cpp |
@@ -3524,7 +3524,7 @@ void WebViewImpl::applyAutofillSuggestions( |
if (!m_autofillPopup) { |
PopupContainerSettings popupSettings = autofillPopupSettings; |
- popupSettings.deviceSupportsTouch = settingsImpl()->deviceSupportsTouch(); |
+ popupSettings.primaryInputIsTouch = settingsImpl()->primaryPointerDevices() & WebSettings::PointerDeviceTouch; |
m_autofillPopup = PopupContainer::create(m_autofillPopupClient.get(), |
PopupContainer::Suggestion, |
popupSettings); |