summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-07 20:16:14 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-07 20:16:14 +0000
commit57f41723adadcd22c72674d413fee54a581ad6cc (patch)
tree1dbb9466aa23207673b8a482be1b0c5c1fe0dfe1 /chrome/renderer
parent1d04a26fafc509178af419f49ea7031855b7835e (diff)
downloadchromium_src-57f41723adadcd22c72674d413fee54a581ad6cc.zip
chromium_src-57f41723adadcd22c72674d413fee54a581ad6cc.tar.gz
chromium_src-57f41723adadcd22c72674d413fee54a581ad6cc.tar.bz2
One more to remove!
TBR=jhawkins BUG=none TEST=none Review URL: http://codereview.chromium.org/1979005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46733 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/form_manager_unittest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/renderer/form_manager_unittest.cc b/chrome/renderer/form_manager_unittest.cc
index 6c6a809..c7f55d4 100644
--- a/chrome/renderer/form_manager_unittest.cc
+++ b/chrome/renderer/form_manager_unittest.cc
@@ -1206,9 +1206,8 @@ TEST_F(FormManagerTest, FillFormExtraFieldInCache) {
EXPECT_TRUE(form_manager.FillForm(*form));
// Get the input element we want to find.
- WebElement element =
- web_frame->document().getElementById(WebString::fromUTF8("firstname"));
- WebInputElement input_element = element.toElement<WebInputElement>();
+ WebElement element = web_frame->document().getElementById("firstname");
+ WebInputElement input_element = element.to<WebInputElement>();
// Find the newly-filled form that contains the input element.
FormData form2;