Index: Source/WebKit/chromium/src/WebViewImpl.cpp |
diff --git a/Source/WebKit/chromium/src/WebViewImpl.cpp b/Source/WebKit/chromium/src/WebViewImpl.cpp |
index 9065324b93125b9cf5af0ad6e68b473a8a331450..0addbf601c8d797fc3aea80cfb3ec0e94b622e74 100644 |
--- a/Source/WebKit/chromium/src/WebViewImpl.cpp |
+++ b/Source/WebKit/chromium/src/WebViewImpl.cpp |
@@ -3485,7 +3485,7 @@ void WebViewImpl::applyAutofillSuggestions( |
return; |
} |
- HTMLInputElement* inputElem = focusedNode->toInputElement(); |
+ Handle<HTMLInputElement> inputElem = focusedNode->toInputElement(); |
ASSERT(inputElem); |
// The first time the Autofill popup is shown we'll create the client and |
@@ -3493,8 +3493,7 @@ void WebViewImpl::applyAutofillSuggestions( |
if (!m_autofillPopupClient) |
m_autofillPopupClient = adoptPtr(new AutofillPopupMenuClient); |
- m_autofillPopupClient->initialize( |
- inputElem, names, labels, icons, itemIDs, separatorIndex); |
+ m_autofillPopupClient->initialize(inputElem.raw(), names, labels, icons, itemIDs, separatorIndex); |
if (!m_autofillPopup) { |
PopupContainerSettings popupSettings = autofillPopupSettings; |