2011-02-01 Yury Semikhatsky <yurys@chromium.org>
authoryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Feb 2011 09:37:23 +0000 (09:37 +0000)
committeryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Feb 2011 09:37:23 +0000 (09:37 +0000)
        Unreviewed. Fix Chromium Debug compilation broken by r77228.

        [Chromium] Autofill should work with HTML5 form elements
        https://bugs.webkit.org/show_bug.cgi?id=51809

        * src/WebInputElement.cpp:
        (WebKit::toWebInputElement):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@77232 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/src/WebInputElement.cpp

index 7c18bd6..a266a78 100644 (file)
@@ -1,3 +1,13 @@
+2011-02-01  Yury Semikhatsky  <yurys@chromium.org>
+
+        Unreviewed. Fix Chromium Debug compilation broken by r77228.
+
+        [Chromium] Autofill should work with HTML5 form elements
+        https://bugs.webkit.org/show_bug.cgi?id=51809
+
+        * src/WebInputElement.cpp:
+        (WebKit::toWebInputElement):
+
 2011-02-01  Naoki Takano  <takano.naoki@gmail.com>
 
         Reviewed by Darin Fisher.
index 0509e77..f487c12 100644 (file)
@@ -179,7 +179,7 @@ WebInputElement* toWebInputElement(WebElement* webElement)
     if (!inputElement)
         return 0;
 
-    ASSERT(inputElement->isHTMLElement());
+    ASSERT(webElement->unwrap<Element>()->isHTMLElement());
 
     return static_cast<WebInputElement*>(webElement);
 }