Index: ppapi/proxy/flash_device_id_resource.cc |
diff --git a/ppapi/proxy/flash_device_id_resource.cc b/ppapi/proxy/flash_device_id_resource.cc |
index 1698b499de1a9d89659a62fe7a48ca571d42f6d1..d7174bd7d78be101f7d22b460925b8b1e7cf5924 100644 |
--- a/ppapi/proxy/flash_device_id_resource.cc |
+++ b/ppapi/proxy/flash_device_id_resource.cc |
@@ -17,7 +17,7 @@ FlashDeviceIDResource::FlashDeviceIDResource(Connection connection, |
PP_Instance instance) |
: PluginResource(connection, instance), |
dest_(NULL) { |
- SendCreateToBrowser(PpapiHostMsg_FlashDeviceID_Create()); |
+ SendCreate(BROWSER, PpapiHostMsg_FlashDeviceID_Create()); |
} |
FlashDeviceIDResource::~FlashDeviceIDResource() { |
@@ -39,7 +39,8 @@ int32_t FlashDeviceIDResource::GetDeviceID( |
dest_ = id; |
callback_ = callback; |
- CallBrowser<PpapiPluginMsg_FlashDeviceID_GetDeviceIDReply>( |
+ Call<PpapiPluginMsg_FlashDeviceID_GetDeviceIDReply>( |
+ BROWSER, |
PpapiHostMsg_FlashDeviceID_GetDeviceID(), |
base::Bind(&FlashDeviceIDResource::OnPluginMsgGetDeviceIDReply, this)); |
return PP_OK_COMPLETIONPENDING; |