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

Unified Diff: webkit/default_plugin/plugin_main.cc

Issue 1662: Replace "WINAPI" with platform-independent "API_CALL". (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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
« no previous file with comments | « webkit/default_plugin/plugin_main.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/default_plugin/plugin_main.cc
===================================================================
--- webkit/default_plugin/plugin_main.cc (revision 1898)
+++ webkit/default_plugin/plugin_main.cc (working copy)
@@ -24,7 +24,7 @@
// Initialized in NP_Initialize.
NPNetscapeFuncs* g_browser = NULL;
-NPError WINAPI NP_GetEntryPoints(NPPluginFuncs* funcs) {
+NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs) {
funcs->version = 11;
funcs->size = sizeof(*funcs);
funcs->newp = NPP_New;
@@ -43,13 +43,13 @@
return NPERR_NO_ERROR;
}
-NPError WINAPI NP_Initialize(NPNetscapeFuncs* funcs) {
+NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs) {
g_browser = funcs;
activex_shim::g_browser = funcs;
return 0;
}
-NPError WINAPI NP_Shutdown(void) {
+NPError API_CALL NP_Shutdown(void) {
g_browser = NULL;
return 0;
}
@@ -210,4 +210,3 @@
}
} // default_plugin
-
« no previous file with comments | « webkit/default_plugin/plugin_main.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698