summaryrefslogtreecommitdiffstats
path: root/webkit/glue/form_field.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 22:38:45 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 22:38:45 +0000
commitf40b49e10c5ad2a4aa360a20e467442fca29e315 (patch)
treecbd752f0db9dca4dfff4fd927832444d163a3ea2 /webkit/glue/form_field.cc
parent1f56867b48fe971a729df346ef3ac750de73969d (diff)
downloadchromium_src-f40b49e10c5ad2a4aa360a20e467442fca29e315.zip
chromium_src-f40b49e10c5ad2a4aa360a20e467442fca29e315.tar.gz
chromium_src-f40b49e10c5ad2a4aa360a20e467442fca29e315.tar.bz2
Switch over to non-deprecated WebKit APIs and delete client methods that are no
longer called by WebKit. R=jhawkins BUG=none TEST=none Review URL: http://codereview.chromium.org/1995002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46508 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/form_field.cc')
-rw-r--r--webkit/glue/form_field.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/glue/form_field.cc b/webkit/glue/form_field.cc
index a82283a..069c6c3 100644
--- a/webkit/glue/form_field.cc
+++ b/webkit/glue/form_field.cc
@@ -29,11 +29,10 @@ FormField::FormField(WebFormControlElement element) {
form_control_type_ = element.formControlType();
if (form_control_type_ == ASCIIToUTF16("text")) {
- const WebInputElement& input_element =
- element.toConstElement<WebInputElement>();
+ const WebInputElement& input_element = element.toConst<WebInputElement>();
value_ = input_element.value();
} else if (form_control_type_ == ASCIIToUTF16("select-one")) {
- WebSelectElement select_element = element.toElement<WebSelectElement>();
+ WebSelectElement select_element = element.to<WebSelectElement>();
value_ = select_element.value();
}