summaryrefslogtreecommitdiffstats
path: root/third_party/npapi
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/npapi')
-rw-r--r--third_party/npapi/bindings/npapi.h19
-rw-r--r--third_party/npapi/bindings/npapi_extensions.h2
2 files changed, 2 insertions, 19 deletions
diff --git a/third_party/npapi/bindings/npapi.h b/third_party/npapi/bindings/npapi.h
index 6878dc8..e4693f2 100644
--- a/third_party/npapi/bindings/npapi.h
+++ b/third_party/npapi/bindings/npapi.h
@@ -51,25 +51,6 @@
#ifdef __native_client__
#include <stdint.h>
#include <sys/types.h>
-/* typedefs needed for NaCl DEPS update */
-/* TODO: convert npapi_extensions.h to int32_t, etc */
-/* and remove these typedefs */
-#ifndef _INT32
-#define _INT32
-typedef int int32;
-#endif
-#ifndef _UINT32
-#define _UINT32
-typedef unsigned int uint32;
-#endif
-#ifndef _INT16
-#define _INT16
-typedef short int16;
-#endif
-#ifndef _UINT16
-#define _UINT16
-typedef unsigned short uint16;
-#endif
#else
#include "base/basictypes.h"
#endif /* __native_client__ */
diff --git a/third_party/npapi/bindings/npapi_extensions.h b/third_party/npapi/bindings/npapi_extensions.h
index 20df63a..c1c2f01 100644
--- a/third_party/npapi/bindings/npapi_extensions.h
+++ b/third_party/npapi/bindings/npapi_extensions.h
@@ -10,6 +10,8 @@
// Chromium projects, such as the Native Client SDK.
#include "npapi.h"
+#include <stddef.h> // For size_t
+
/*
* A fake "enum" value for getting browser-implemented Pepper extensions.
* The variable returns a pointer to an NPNExtensions structure. */