summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webinputevent_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webinputevent_mac.mm')
-rw-r--r--webkit/glue/webinputevent_mac.mm6
1 files changed, 0 insertions, 6 deletions
diff --git a/webkit/glue/webinputevent_mac.mm b/webkit/glue/webinputevent_mac.mm
index e3f6af6..3090d96 100644
--- a/webkit/glue/webinputevent_mac.mm
+++ b/webkit/glue/webinputevent_mac.mm
@@ -89,8 +89,6 @@ WebMouseEvent::WebMouseEvent(NSEvent *event, NSView* view) {
timestamp_sec = [event timestamp];
layout_test_click_count = 0;
-
- mac_event = event; // retains |event|
}
// WebMouseWheelEvent ---------------------------------------------------------
@@ -130,8 +128,6 @@ WebMouseWheelEvent::WebMouseWheelEvent(NSEvent *event, NSView* view) {
modifiers |= SHIFT_KEY;
if ([event modifierFlags] & NSAlternateKeyMask)
modifiers |= ALT_KEY;
-
- mac_event = event; // retains |event|
}
// WebKeyboardEvent -----------------------------------------------------------
@@ -964,6 +960,4 @@ WebKeyboardEvent::WebKeyboardEvent(NSEvent *event) {
FillVectorFromNSString(&key_identifier, identStr);
key_code = WebCore::windowsKeyCodeForKeyEvent(event);
-
- mac_event = event; // retains |event|
}