[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 11:14:57 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 22d3cc46bde58065384e6bc57dc182b4a6be9404
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Jul 15 23:31:12 2010 +0000

    2010-07-15  Scott Violet  <sky at chromium.org>
    
            Reviewed by David Levin.
    
            [chromium] WebViewClient::removeAutofillSuggestions is not passed the correct name
            https://bugs.webkit.org/show_bug.cgi?id=42385
    
            * src/WebViewImpl.cpp:
            (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Use WebInputElement::nameForAutofill() instead of name.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63489 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/chromium/ChangeLog b/WebKit/chromium/ChangeLog
index 4387af7..18c6956 100644
--- a/WebKit/chromium/ChangeLog
+++ b/WebKit/chromium/ChangeLog
@@ -1,3 +1,13 @@
+2010-07-15  Scott Violet  <sky at chromium.org>
+
+        Reviewed by David Levin.
+
+        [chromium] WebViewClient::removeAutofillSuggestions is not passed the correct name
+        https://bugs.webkit.org/show_bug.cgi?id=42385
+
+        * src/WebViewImpl.cpp:
+        (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Use WebInputElement::nameForAutofill() instead of name.
+
 2010-07-15  Sheriff Bot  <webkit.review.bot at gmail.com>
 
         Unreviewed, rolling out r63446.
diff --git a/WebKit/chromium/src/WebViewImpl.cpp b/WebKit/chromium/src/WebViewImpl.cpp
index 8fd34d1..3b81b2c 100644
--- a/WebKit/chromium/src/WebViewImpl.cpp
+++ b/WebKit/chromium/src/WebViewImpl.cpp
@@ -94,6 +94,7 @@
 #include "WebDragData.h"
 #include "WebFrameImpl.h"
 #include "WebImage.h"
+#include "WebInputElement.h"
 #include "WebInputEvent.h"
 #include "WebInputEventConversion.h"
 #include "WebKit.h"
@@ -596,8 +597,7 @@ bool WebViewImpl::autocompleteHandleKeyEvent(const WebKeyboardEvent& event)
         if (!m_autoFillPopupClient->canRemoveSuggestionAtIndex(selectedIndex))
             return false;
 
-        HTMLInputElement* inputElement = static_cast<HTMLInputElement*>(element);
-        WebString name = inputElement->name();
+        WebString name = WebInputElement(static_cast<HTMLInputElement*>(element)).nameForAutofill();
         WebString value = m_autoFillPopupClient->itemText(selectedIndex);
         m_client->removeAutofillSuggestions(name, value);
         // Update the entries in the currently showing popup to reflect the

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list