Index: mojo/converters/input_events/input_events_type_converters.cc |
diff --git a/mojo/converters/input_events/input_events_type_converters.cc b/mojo/converters/input_events/input_events_type_converters.cc |
index f0cd627f357cabdcf0a1ab2f78d3e0391bd2d15b..58ee75aa2a89eb9cce658f66d7315b8d63e150df 100644 |
--- a/mojo/converters/input_events/input_events_type_converters.cc |
+++ b/mojo/converters/input_events/input_events_type_converters.cc |
@@ -192,7 +192,7 @@ scoped_ptr<ui::Event> TypeConverter<scoped_ptr<ui::Event>, EventPtr>::Convert( |
input->key_data->text, |
input->key_data->unmodified_text))); |
key_event->set_platform_keycode(input->key_data->native_key_code); |
- ui_event = key_event.PassAs<ui::KeyEvent>(); |
+ ui_event = key_event.Pass(); |
break; |
} |
case EVENT_TYPE_MOUSE_PRESSED: |