Index: webkit/glue/dom_operations.cc |
=================================================================== |
--- webkit/glue/dom_operations.cc (revision 16848) |
+++ webkit/glue/dom_operations.cc (working copy) |
@@ -236,7 +236,7 @@ |
std::vector<WebCore::HTMLInputElement*>::iterator changed_ie; |
for (changed_ie = changed.begin(); changed_ie != changed.end(); |
++changed_ie) { |
- (*changed_ie)->onChange(); |
+ (*changed_ie)->dispatchFormControlChangeEvent(); |
(*changed_ie)->deref(); |
} |
@@ -302,7 +302,7 @@ |
continue; |
it->second->setValue(StdWStringToString(data_map[it->first])); |
it->second->setAutofilled(true); |
- it->second->onChange(); |
+ it->second->dispatchFormControlChangeEvent(); |
} |
if (submit && submit_found) { |