Index: ui/events/event.cc |
diff --git a/ui/events/event.cc b/ui/events/event.cc |
index 1e4bdd0e6470a1ccd969cd1e671a891f6e7e216c..63202cb0ba855a30fee3e610e59b9c99b96ee530 100644 |
--- a/ui/events/event.cc |
+++ b/ui/events/event.cc |
@@ -567,20 +567,6 @@ uint16 KeyEvent::GetCharacter() const { |
#endif |
} |
-KeyEvent* KeyEvent::Copy() const { |
-#if defined(USE_OZONE) |
- KeyEvent* copy = new KeyEvent(*this); |
-#else |
- KeyEvent* copy = HasNativeEvent() ? |
- new KeyEvent(::CopyNativeEvent(native_event()), is_char()) : |
- new KeyEvent(*this); |
-#endif |
-#if defined(USE_X11) |
- copy->set_delete_native_event(true); |
-#endif |
- return copy; |
-} |
- |
bool KeyEvent::IsUnicodeKeyCode() const { |
if (!IsAltDown()) |
return false; |