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

Unified Diff: ppapi/shared_impl/ppb_device_ref_shared.cc

Issue 10828023: PPAPI/NaCl: Make NaClIPCAdapter transfer handles more generally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-add gyp files Created 8 years, 4 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 | « ppapi/shared_impl/ppb_audio_shared.h ('k') | ppapi/shared_impl/ppb_image_data_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_device_ref_shared.cc
diff --git a/ppapi/shared_impl/ppb_device_ref_shared.cc b/ppapi/shared_impl/ppb_device_ref_shared.cc
index 15a3a7bfcef48698ab4f85aa2d72e6f4f15d21a8..73a9a7c7d105db068c804a61c74678bc0972cfca 100644
--- a/ppapi/shared_impl/ppb_device_ref_shared.cc
+++ b/ppapi/shared_impl/ppb_device_ref_shared.cc
@@ -58,7 +58,8 @@ PP_Resource PPB_DeviceRef_Shared::CreateResourceArray(
}
}
PPB_ResourceArray_Shared* array_object =
- new PPB_ResourceArray_Shared(type, instance, elements.get(), size);
+ new PPB_ResourceArray_Shared(type, instance, elements.get(),
+ static_cast<uint32_t>(size));
for (size_t index = 0; index < size; ++index)
PpapiGlobals::Get()->GetResourceTracker()->ReleaseResource(elements[index]);
« no previous file with comments | « ppapi/shared_impl/ppb_audio_shared.h ('k') | ppapi/shared_impl/ppb_image_data_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698