Index: content/renderer/pepper/pepper_plugin_instance_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
index d88a10c4442c5f0cdf2247cdb16179ae7cb5f29c..1b2e17619d5df873ee3db7c4233bd30ad6b9ae6b 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -435,7 +435,7 @@ void PepperPluginInstanceImpl::GamepadImpl::Sample( |
WebKit::WebGamepads webkit_data; |
RenderThreadImpl::current()->SampleGamepads(&webkit_data); |
ConvertWebKitGamepadData( |
- *reinterpret_cast<const ppapi::WebKitGamepads*>(&webkit_data), data); |
+ bit_cast<ppapi::WebKitGamepads>(webkit_data), data); |
} |
PepperPluginInstanceImpl::PepperPluginInstanceImpl( |