Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: webkit/plugins/ppapi/plugin_module.cc

Issue 7082036: Convert more interfaces to the new thunk system. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/ppapi/plugin_module.cc
===================================================================
--- webkit/plugins/ppapi/plugin_module.cc (revision 87260)
+++ webkit/plugins/ppapi/plugin_module.cc (working copy)
@@ -262,21 +262,21 @@
if (strcmp(name, PPB_CURSOR_CONTROL_DEV_INTERFACE) == 0)
return ::ppapi::thunk::GetPPB_CursorControl_Thunk();
if (strcmp(name, PPB_DIRECTORYREADER_DEV_INTERFACE) == 0)
- return PPB_DirectoryReader_Impl::GetInterface();
+ return ::ppapi::thunk::GetPPB_DirectoryReader_Thunk();
if (strcmp(name, PPB_FILECHOOSER_DEV_INTERFACE) == 0)
- return PPB_FileChooser_Impl::GetInterface();
+ return ::ppapi::thunk::GetPPB_FileChooser_Thunk();
if (strcmp(name, PPB_FILEIO_DEV_INTERFACE) == 0)
- return PPB_FileIO_Impl::GetInterface();
+ return ::ppapi::thunk::GetPPB_FileIO_Thunk();
if (strcmp(name, PPB_NACL_PRIVATE_INTERFACE) == 0)
return PPB_NaCl_Private_Impl::GetInterface();
if (strcmp(name, PPB_FILEIOTRUSTED_DEV_INTERFACE) == 0)
- return PPB_FileIO_Impl::GetTrustedInterface();
+ return ::ppapi::thunk::GetPPB_FileIOTrusted_Thunk();
if (strcmp(name, PPB_FILEREF_DEV_INTERFACE) == 0)
- return PPB_FileRef_Impl::GetInterface();
+ return ::ppapi::thunk::GetPPB_FileRef_Thunk();
if (strcmp(name, PPB_FILESYSTEM_DEV_INTERFACE) == 0)
- return PPB_FileSystem_Impl::GetInterface();
+ return ::ppapi::thunk::GetPPB_FileSystem_Thunk();
if (strcmp(name, PPB_FIND_DEV_INTERFACE) == 0)
- return PluginInstance::GetFindInterface();
+ return ::ppapi::thunk::GetPPB_Find_Thunk();
if (strcmp(name, PPB_FLASH_INTERFACE) == 0)
return PPB_Flash_Impl::GetInterface();
if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE) == 0)

Powered by Google App Engine
This is Rietveld 408576698