summaryrefslogtreecommitdiffstats
path: root/webkit/default_plugin/plugin_main.cc
diff options
context:
space:
mode:
authormmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-09 17:33:10 +0000
committermmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-09 17:33:10 +0000
commitc64b8c1fd140d1d914f0bda10a7a414fa9c08916 (patch)
tree09264a66169a27d9075184d44457e3427a6bbffc /webkit/default_plugin/plugin_main.cc
parentf4fbe5b7f5b9a19310aeeb164f2cc92d6690d916 (diff)
downloadchromium_src-c64b8c1fd140d1d914f0bda10a7a414fa9c08916.zip
chromium_src-c64b8c1fd140d1d914f0bda10a7a414fa9c08916.tar.gz
chromium_src-c64b8c1fd140d1d914f0bda10a7a414fa9c08916.tar.bz2
Replace "WINAPI" with platform-independent "API_CALL".
Review URL: http://codereview.chromium.org/1662 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1900 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/default_plugin/plugin_main.cc')
-rw-r--r--webkit/default_plugin/plugin_main.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/webkit/default_plugin/plugin_main.cc b/webkit/default_plugin/plugin_main.cc
index 2a06da2..f23a6f8 100644
--- a/webkit/default_plugin/plugin_main.cc
+++ b/webkit/default_plugin/plugin_main.cc
@@ -24,7 +24,7 @@ inline HMODULE GetCurrentModuleHandle() {
// 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 @@ NPError WINAPI NP_GetEntryPoints(NPPluginFuncs* funcs) {
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 @@ int16 NPP_HandleEvent(NPP instance, void* event) {
}
} // default_plugin
-