Index: ppapi/proxy/ppb_flash_file_proxy.cc |
diff --git a/ppapi/proxy/ppb_flash_file_proxy.cc b/ppapi/proxy/ppb_flash_file_proxy.cc |
index 975c77a5b5606597143a5d68aecc92b03b3afc6c..e06bc329885e3dfe487ec9ecb8952d67e8678bfa 100644 |
--- a/ppapi/proxy/ppb_flash_file_proxy.cc |
+++ b/ppapi/proxy/ppb_flash_file_proxy.cc |
@@ -525,15 +525,9 @@ PPB_Flash_File_ModuleLocal_Proxy::~PPB_Flash_File_ModuleLocal_Proxy() { |
} |
// static |
-const InterfaceProxy::Info* PPB_Flash_File_ModuleLocal_Proxy::GetInfo() { |
- static const Info info = { |
- &flash_file_modulelocal_interface, |
- PPB_FLASH_FILE_MODULELOCAL_INTERFACE, |
- API_ID_PPB_FLASH_FILE_MODULELOCAL, |
- true, |
- &CreateFlashFileModuleLocalProxy, |
- }; |
- return &info; |
+const PPB_Flash_File_ModuleLocal* |
+PPB_Flash_File_ModuleLocal_Proxy::GetInterface() { |
+ return &flash_file_modulelocal_interface; |
} |
bool PPB_Flash_File_ModuleLocal_Proxy::OnMessageReceived( |
@@ -692,15 +686,8 @@ PPB_Flash_File_FileRef_Proxy::~PPB_Flash_File_FileRef_Proxy() { |
} |
// static |
-const InterfaceProxy::Info* PPB_Flash_File_FileRef_Proxy::GetInfo() { |
- static const Info info = { |
- &flash_file_fileref_interface, |
- PPB_FLASH_FILE_FILEREF_INTERFACE, |
- API_ID_PPB_FLASH_FILE_FILEREF, |
- true, |
- &CreateFlashFileFileRefProxy, |
- }; |
- return &info; |
+const PPB_Flash_File_FileRef* PPB_Flash_File_FileRef_Proxy::GetInterface() { |
+ return &flash_file_fileref_interface; |
} |
bool PPB_Flash_File_FileRef_Proxy::OnMessageReceived( |