Index: Source/core/dom/Event.h |
diff --git a/Source/core/dom/Event.h b/Source/core/dom/Event.h |
index 7f705c42d7eb92af109a4f0c66cf63e374db1870..560ace8c42ef2cd9f92baf81695da05d986d2ec9 100644 |
--- a/Source/core/dom/Event.h |
+++ b/Source/core/dom/Event.h |
@@ -88,6 +88,10 @@ public: |
{ |
return adoptRef(new Event(type, false, true)); |
} |
+ static PassRefPtr<Event> createBubble(const AtomicString& type) |
+ { |
+ return adoptRef(new Event(type, true, false)); |
+ } |
static PassRefPtr<Event> create(const AtomicString& type, bool canBubble, bool cancelable) |
{ |
return adoptRef(new Event(type, canBubble, cancelable)); |