summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/handlers/html/html.c4
-rw-r--r--content/handlers/html/html_internal.h2
-rw-r--r--content/handlers/html/interaction.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c
index 631045a1e..c66d2aca1 100644
--- a/content/handlers/html/html.c
+++ b/content/handlers/html/html.c
@@ -78,8 +78,8 @@ static const char *html_types[] = {
};
/* Exported interface, see html_internal.h */
-bool fire_dom_event(dom_string *type, dom_node *target,
- bool bubbles, bool cancelable)
+bool fire_generic_dom_event(dom_string *type, dom_node *target,
+ bool bubbles, bool cancelable)
{
dom_exception exc;
dom_event *evt;
diff --git a/content/handlers/html/html_internal.h b/content/handlers/html/html_internal.h
index 11891e681..f24acff82 100644
--- a/content/handlers/html/html_internal.h
+++ b/content/handlers/html/html_internal.h
@@ -401,7 +401,7 @@ nserror html_object_abort_objects(html_content *html);
* Construct an event and fire it at the DOM
*
*/
-bool fire_dom_event(dom_string *type, dom_node *target,
+bool fire_generic_dom_event(dom_string *type, dom_node *target,
bool bubbles, bool cancelable);
/* Useful dom_string pointers */
diff --git a/content/handlers/html/interaction.c b/content/handlers/html/interaction.c
index 61f4173fd..bc130f077 100644
--- a/content/handlers/html/interaction.c
+++ b/content/handlers/html/interaction.c
@@ -1172,7 +1172,7 @@ html_mouse_action(struct content *c,
/* fire dom click event */
if (mouse & BROWSER_MOUSE_CLICK_1) {
- fire_dom_event(corestring_dom_click, node, true, true);
+ fire_generic_dom_event(corestring_dom_click, node, true, true);
}
/* deferred actions that can cause this browser_window to be destroyed