Index: ppapi/proxy/gamepad_resource.cc |
diff --git a/ppapi/proxy/gamepad_resource.cc b/ppapi/proxy/gamepad_resource.cc |
index fa028e4e02c9246b967e77dfa8e7ab31635f0ad4..3055513c5c052405193087854d61e7dc47980d85 100644 |
--- a/ppapi/proxy/gamepad_resource.cc |
+++ b/ppapi/proxy/gamepad_resource.cc |
@@ -48,8 +48,9 @@ GamepadResource::GamepadResource(Connection connection, PP_Instance instance) |
buffer_(NULL) { |
memset(&last_read_, 0, sizeof(last_read_)); |
- SendCreateToBrowser(PpapiHostMsg_Gamepad_Create()); |
- CallBrowser<PpapiPluginMsg_Gamepad_SendMemory>( |
+ SendCreate(BROWSER, PpapiHostMsg_Gamepad_Create()); |
+ Call<PpapiPluginMsg_Gamepad_SendMemory>( |
+ BROWSER, |
PpapiHostMsg_Gamepad_RequestMemory(), |
base::Bind(&GamepadResource::OnPluginMsgSendMemory, this)); |
} |