summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authorneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-25 23:25:16 +0000
committerneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-25 23:25:16 +0000
commit9e7e0e0c96dcd2773747077ac1041913e73a481a (patch)
tree715cf95cf9de7f75fd0eca1846cfb2c346c462eb /third_party
parent1e730344d06a78c40062912a50aa3b4e61fc160d (diff)
downloadchromium_src-9e7e0e0c96dcd2773747077ac1041913e73a481a.zip
chromium_src-9e7e0e0c96dcd2773747077ac1041913e73a481a.tar.gz
chromium_src-9e7e0e0c96dcd2773747077ac1041913e73a481a.tar.bz2
Refactor Pepper device API
Track Pepper DeviceContexts using ID (and reclaim them upon shutdown) Refactor device-specific code into pepper_devices.h Review URL: http://codereview.chromium.org/548100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37060 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r--third_party/npapi/bindings/npapi_extensions.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/third_party/npapi/bindings/npapi_extensions.h b/third_party/npapi/bindings/npapi_extensions.h
index a53ead2..c24cd99 100644
--- a/third_party/npapi/bindings/npapi_extensions.h
+++ b/third_party/npapi/bindings/npapi_extensions.h
@@ -29,7 +29,7 @@ typedef struct _NPDeviceBuffer {
/* completion callback for flush device */
typedef void (*NPDeviceFlushContextCallbackPtr)(
- NPP instace,
+ NPP instance,
NPDeviceContext* context,
NPError err,
NPUserData* userData);
@@ -378,11 +378,10 @@ typedef struct _NPDeviceContextAudioConfig {
} NPDeviceContextAudioConfig;
struct _NPDeviceContextAudio {
-// NPP npp;
NPDeviceContextAudioConfig config;
void *outBuffer;
void *inBuffer;
- void *privatePtr;
+ void *reserved;
};
#endif /* _NP_EXTENSIONS_H_ */