Index: ppapi/proxy/ppb_flash_proxy.cc |
diff --git a/ppapi/proxy/ppb_flash_proxy.cc b/ppapi/proxy/ppb_flash_proxy.cc |
index b1d0d22e564c5643986e76fb683a2c8a1d633866..4b23f87f9c4cb5d6d0c17f67292b4311494f3ba7 100644 |
--- a/ppapi/proxy/ppb_flash_proxy.cc |
+++ b/ppapi/proxy/ppb_flash_proxy.cc |
@@ -35,7 +35,7 @@ void SetInstanceAlwaysOnTop(PP_Instance pp_instance, PP_Bool on_top) { |
PluginDispatcher* dispatcher = PluginDispatcher::GetForInstance(pp_instance); |
if (dispatcher) { |
dispatcher->Send(new PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop( |
- INTERFACE_ID_PPB_FLASH, pp_instance, on_top)); |
+ API_ID_PPB_FLASH, pp_instance, on_top)); |
} |
} |
@@ -83,7 +83,7 @@ PP_Bool DrawGlyphs(PP_Instance instance, |
PP_Bool result = PP_FALSE; |
dispatcher->Send(new PpapiHostMsg_PPBFlash_DrawGlyphs( |
- INTERFACE_ID_PPB_FLASH, params, &result)); |
+ API_ID_PPB_FLASH, params, &result)); |
return result; |
} |
@@ -94,7 +94,7 @@ PP_Var GetProxyForURL(PP_Instance instance, const char* url) { |
ReceiveSerializedVarReturnValue result; |
dispatcher->Send(new PpapiHostMsg_PPBFlash_GetProxyForURL( |
- INTERFACE_ID_PPB_FLASH, instance, url, &result)); |
+ API_ID_PPB_FLASH, instance, url, &result)); |
return result.Return(dispatcher); |
} |
@@ -112,7 +112,7 @@ int32_t Navigate(PP_Resource request_id, |
int32_t result = PP_ERROR_FAILED; |
dispatcher->Send(new PpapiHostMsg_PPBFlash_Navigate( |
- INTERFACE_ID_PPB_FLASH, |
+ API_ID_PPB_FLASH, |
instance, enter.object()->GetData(), target, from_user_action, |
&result)); |
return result; |
@@ -123,7 +123,7 @@ void RunMessageLoop(PP_Instance instance) { |
if (!dispatcher) |
return; |
IPC::SyncMessage* msg = new PpapiHostMsg_PPBFlash_RunMessageLoop( |
- INTERFACE_ID_PPB_FLASH, instance); |
+ API_ID_PPB_FLASH, instance); |
msg->EnableMessagePumping(); |
dispatcher->Send(msg); |
} |
@@ -133,7 +133,7 @@ void QuitMessageLoop(PP_Instance instance) { |
if (!dispatcher) |
return; |
dispatcher->Send(new PpapiHostMsg_PPBFlash_QuitMessageLoop( |
- INTERFACE_ID_PPB_FLASH, instance)); |
+ API_ID_PPB_FLASH, instance)); |
} |
double GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) { |
@@ -149,7 +149,7 @@ double GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) { |
// this message rather than proxy it through some instance in a renderer. |
double result = 0; |
dispatcher->Send(new PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset( |
- INTERFACE_ID_PPB_FLASH, instance, t, &result)); |
+ API_ID_PPB_FLASH, instance, t, &result)); |
return result; |
} |
@@ -191,7 +191,7 @@ const InterfaceProxy::Info* PPB_Flash_Proxy::GetInfo() { |
static const Info info = { |
&flash_interface, |
PPB_FLASH_INTERFACE, |
- INTERFACE_ID_PPB_FLASH, |
+ API_ID_PPB_FLASH, |
true, |
&CreateFlashProxy, |
}; |