diff options
author | japhet@chromium.org <japhet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-15 23:08:46 +0000 |
---|---|---|
committer | japhet@chromium.org <japhet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-15 23:08:46 +0000 |
commit | a97d13dbe6d9f539d6f8f5d990c8a26abcb6767b (patch) | |
tree | c2ff2ca15ef7906ac26d20d835d50a5e5d9029c3 /webkit | |
parent | 2eb41e766aeee36207576631717c3bfc586ad5ec (diff) | |
download | chromium_src-a97d13dbe6d9f539d6f8f5d990c8a26abcb6767b.zip chromium_src-a97d13dbe6d9f539d6f8f5d990c8a26abcb6767b.tar.gz chromium_src-a97d13dbe6d9f539d6f8f5d990c8a26abcb6767b.tar.bz2 |
Removed extraneous call to the now depreacted WebCore::parseURL().
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/149707
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20804 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/searchable_form_data.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/glue/searchable_form_data.cc b/webkit/glue/searchable_form_data.cc index 5955745a..4761435 100644 --- a/webkit/glue/searchable_form_data.cc +++ b/webkit/glue/searchable_form_data.cc @@ -7,7 +7,6 @@ #include "base/compiler_specific.h" MSVC_PUSH_WARNING_LEVEL(0); -#include "CSSHelper.h" #include "CString.h" #include "Document.h" #include "DocumentLoader.h" @@ -121,7 +120,7 @@ void GetFormEncoding(WebCore::HTMLFormElement* form, // Returns true if the submit request results in an HTTP URL. bool IsHTTPFormSubmit(WebCore::HTMLFormElement* form) { WebCore::Frame* frame = form->document()->frame(); - WebCore::String action = WebCore::parseURL(form->action()); + WebCore::String action = form->action(); WebCore::FrameLoader* loader = frame->loader(); WebCore::KURL url = loader->completeURL(action.isNull() ? "" : action); return (url.protocol() == "http"); @@ -336,7 +335,7 @@ SearchableFormData* SearchableFormData::Create(const WebForm& webform) { // It's a valid form. // Generate the URL and create a new SearchableFormData. RefPtr<WebCore::FormData> form_data = WebCore::FormData::create(enc_string); - WebCore::String action = WebCore::parseURL(form->action()); + WebCore::String action = form->action(); WebCore::FrameLoader* loader = frame->loader(); WebCore::KURL url = loader->completeURL(action.isNull() ? "" : action); url.setQuery(form_data->flattenToString()); |