Index: Source/core/events/MouseEvent.h |
diff --git a/Source/core/events/MouseEvent.h b/Source/core/events/MouseEvent.h |
index 710adf309ed36e0e2117a39071f252e2bb666d3f..41ab261eb8ed20fcaf784a881336a7df7ed13856 100644 |
--- a/Source/core/events/MouseEvent.h |
+++ b/Source/core/events/MouseEvent.h |
@@ -83,6 +83,7 @@ public: |
unsigned short button() const { return m_button; } |
bool buttonDown() const { return m_buttonDown; } |
EventTarget* relatedTarget() const { return m_relatedTarget.get(); } |
+ EventTarget* relatedTarget(bool& isNull) const { isNull = !m_relatedTarget; return m_relatedTarget.get(); } |
void setRelatedTarget(PassRefPtr<EventTarget> relatedTarget) { m_relatedTarget = relatedTarget; } |
Clipboard* clipboard() const { return m_clipboard.get(); } |