Index: Source/core/events/UIEvent.h |
diff --git a/Source/core/events/UIEvent.h b/Source/core/events/UIEvent.h |
index ebb7bd4e866085945588aaf0329f8ea753af15da..2750331130700ea858ca420c8bc352a692769349 100644 |
--- a/Source/core/events/UIEvent.h |
+++ b/Source/core/events/UIEvent.h |
@@ -58,6 +58,7 @@ public: |
void initUIEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView>, int detail); |
AbstractView* view() const { return m_view.get(); } |
+ AbstractView* view(bool& isNull) const { isNull = !m_view; return m_view.get(); } |
int detail() const { return m_detail; } |
virtual const AtomicString& interfaceName() const; |