diff options
Diffstat (limited to 'chrome/renderer/form_manager.cc')
-rw-r--r-- | chrome/renderer/form_manager.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/form_manager.cc b/chrome/renderer/form_manager.cc index ffe43bf..048f347 100644 --- a/chrome/renderer/form_manager.cc +++ b/chrome/renderer/form_manager.cc @@ -618,9 +618,9 @@ bool FormManager::ClearFormWithNode(const WebKit::WebNode& node) { return true; } -bool FormManager::ClearPreviewedForm(const FormData& form) { +bool FormManager::ClearPreviewedFormWithNode(const WebKit::WebNode& node) { FormElement* form_element = NULL; - if (!FindCachedFormElement(form, &form_element)) + if (!FindCachedFormElementWithNode(node, &form_element)) return false; for (size_t i = 0; i < form_element->control_elements.size(); ++i) { |