summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins
diff options
context:
space:
mode:
authornfullagar@google.com <nfullagar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 18:52:41 +0000
committernfullagar@google.com <nfullagar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 18:52:41 +0000
commit7b33902700498cda1c9b045a6e9147cf5f66cef7 (patch)
tree21389892ffdf61b2054a0f835a487cc7d19d1d36 /webkit/glue/plugins
parentf67956032b6a07388d476803a7f7a0363dd376d9 (diff)
downloadchromium_src-7b33902700498cda1c9b045a6e9147cf5f66cef7.zip
chromium_src-7b33902700498cda1c9b045a6e9147cf5f66cef7.tar.gz
chromium_src-7b33902700498cda1c9b045a6e9147cf5f66cef7.tar.bz2
Cleanup
- change comment style in ppb_audio_trusted_dev.h to c style - change shm_size to uint32_t to match other interfaces BUG=none TEST=src/ppapi/examples/audio/audio.cc Review URL: http://codereview.chromium.org/5292010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins')
-rw-r--r--webkit/glue/plugins/pepper_audio.cc4
-rw-r--r--webkit/glue/plugins/pepper_audio.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/plugins/pepper_audio.cc b/webkit/glue/plugins/pepper_audio.cc
index 1731d8a..0b0999a 100644
--- a/webkit/glue/plugins/pepper_audio.cc
+++ b/webkit/glue/plugins/pepper_audio.cc
@@ -153,7 +153,7 @@ int32_t GetSyncSocket(PP_Resource audio_id, int* sync_socket) {
int32_t GetSharedMemory(PP_Resource audio_id,
int* shm_handle,
- int32_t* shm_size) {
+ uint32_t* shm_size) {
scoped_refptr<Audio> audio = Resource::GetAs<Audio>(audio_id);
if (audio)
return audio->GetSharedMemory(shm_handle, shm_size);
@@ -300,7 +300,7 @@ int32_t Audio::GetSyncSocket(int* sync_socket) {
return PP_ERROR_FAILED;
}
-int32_t Audio::GetSharedMemory(int* shm_handle, int32_t* shm_size) {
+int32_t Audio::GetSharedMemory(int* shm_handle, uint32_t* shm_size) {
if (shared_memory_ != NULL) {
#if defined(OS_POSIX)
*shm_handle = shared_memory_->handle().fd;
diff --git a/webkit/glue/plugins/pepper_audio.h b/webkit/glue/plugins/pepper_audio.h
index 8c14666..3b4a8cc 100644
--- a/webkit/glue/plugins/pepper_audio.h
+++ b/webkit/glue/plugins/pepper_audio.h
@@ -71,7 +71,7 @@ class Audio : public Resource,
int32_t GetSyncSocket(int* sync_socket);
- int32_t GetSharedMemory(int* shm_handle, int32_t* shm_size);
+ int32_t GetSharedMemory(int* shm_handle, uint32_t* shm_size);
bool StartPlayback();