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

Unified Diff: webkit/tools/npapi_layout_test_plugin/main.cpp

Issue 2505001: Fix more type issues from the npapi.h tranisition to *_t types (Closed)
Patch Set: scaled back Created 10 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
« no previous file with comments | « webkit/tools/npapi_layout_test_plugin/TestObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/npapi_layout_test_plugin/main.cpp
diff --git a/webkit/tools/npapi_layout_test_plugin/main.cpp b/webkit/tools/npapi_layout_test_plugin/main.cpp
index 94abff73e5444c0d018b10489387afa4eb7639b7..c061adbaa43f8ce3c31afb71e852ffe2aaf60607 100644
--- a/webkit/tools/npapi_layout_test_plugin/main.cpp
+++ b/webkit/tools/npapi_layout_test_plugin/main.cpp
@@ -33,6 +33,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <wtf/Platform.h>
#include "PluginObject.h"
@@ -111,7 +112,7 @@ EXPORT void NPAPI NP_Shutdown(void)
static void executeScript(const PluginObject* obj, const char* script);
-NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16_t argc, char *argn[], char *argv[], NPSavedData *saved)
+NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char *argn[], char *argv[], NPSavedData *saved)
{
if (browser->version >= 14) {
PluginObject* obj = (PluginObject*)browser->createobject(instance, getPluginClass());
@@ -214,7 +215,7 @@ static void executeScript(const PluginObject* obj, const char* script)
browser->releasevariantvalue(&browserResult);
}
-NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream *stream, NPBool seekable, uint16 *stype)
+NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype)
{
PluginObject* obj = static_cast<PluginObject*>(instance->pdata);
« no previous file with comments | « webkit/tools/npapi_layout_test_plugin/TestObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698