summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/BeforeLoadEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/BeforeLoadEvent.h')
-rw-r--r--WebCore/dom/BeforeLoadEvent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/dom/BeforeLoadEvent.h b/WebCore/dom/BeforeLoadEvent.h
index 8c86773..fc5814a 100644
--- a/WebCore/dom/BeforeLoadEvent.h
+++ b/WebCore/dom/BeforeLoadEvent.h
@@ -34,6 +34,8 @@ namespace WebCore {
class BeforeLoadEvent : public Event {
public:
+ virtual bool isBeforeLoadEvent() const { return true; }
+
static PassRefPtr<BeforeLoadEvent> create(const String& url)
{
return adoptRef(new BeforeLoadEvent(url));