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

Unified Diff: webkit/glue/plugins/pepper_audio.cc

Issue 5292010: Cleanup... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/glue/plugins/pepper_audio.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_audio.cc
===================================================================
--- webkit/glue/plugins/pepper_audio.cc (revision 67614)
+++ webkit/glue/plugins/pepper_audio.cc (working copy)
@@ -153,7 +153,7 @@
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 @@
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;
« no previous file with comments | « webkit/glue/plugins/pepper_audio.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698