Index: athena/virtual_keyboard/virtual_keyboard_bindings_impl.cc |
diff --git a/athena/virtual_keyboard/virtual_keyboard_bindings_impl.cc b/athena/virtual_keyboard/virtual_keyboard_bindings_impl.cc |
index a04520c3dd46303c8a107cda36427dda6e81ad82..85fe5f52a125d9bd7595834c6d35eb5b1f43e018 100644 |
--- a/athena/virtual_keyboard/virtual_keyboard_bindings_impl.cc |
+++ b/athena/virtual_keyboard/virtual_keyboard_bindings_impl.cc |
@@ -143,11 +143,11 @@ class VKBindings : public gin::Wrappable<VKBindings> { |
return; |
} |
base::ListValue params; |
- params.Set(0, base::Value::CreateStringValue(event.event_type)); |
- params.Set(1, base::Value::CreateIntegerValue(event.char_value)); |
- params.Set(2, base::Value::CreateIntegerValue(event.key_code)); |
- params.Set(3, base::Value::CreateStringValue(event.key_name)); |
- params.Set(4, base::Value::CreateIntegerValue(event.modifiers)); |
+ params.Set(0, new base::StringValue(event.event_type)); |
+ params.Set(1, new base::FundamentalValue(event.char_value)); |
+ params.Set(2, new base::FundamentalValue(event.key_code)); |
+ params.Set(3, new base::StringValue(event.key_name)); |
+ params.Set(4, new base::FundamentalValue(event.modifiers)); |
std::string params_json; |
JSONStringValueSerializer serializer(¶ms_json); |