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

Unified Diff: ppapi/proxy/ppb_video_decoder_proxy.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years 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/proxy/ppb_video_decoder_proxy.h ('k') | ppapi/proxy/ppb_x509_certificate_private_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_video_decoder_proxy.cc
diff --git a/ppapi/proxy/ppb_video_decoder_proxy.cc b/ppapi/proxy/ppb_video_decoder_proxy.cc
index e63423d64604ccca331540b177777f6d9d74cc91..1ec9605a86058b0575fb253bccd656562074bd56 100644
--- a/ppapi/proxy/ppb_video_decoder_proxy.cc
+++ b/ppapi/proxy/ppb_video_decoder_proxy.cc
@@ -5,6 +5,7 @@
#include "ppapi/proxy/ppb_video_decoder_proxy.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/numerics/safe_conversions.h"
#include "gpu/command_buffer/client/gles2_implementation.h"
#include "ppapi/proxy/enter_proxy.h"
@@ -230,9 +231,10 @@ void PPB_VideoDecoder_Proxy::OnMsgCreate(
instance, graphics_context.host_resource(), profile));
}
-void PPB_VideoDecoder_Proxy::OnMsgDecode(
- const HostResource& decoder,
- const HostResource& buffer, int32 id, uint32 size) {
+void PPB_VideoDecoder_Proxy::OnMsgDecode(const HostResource& decoder,
+ const HostResource& buffer,
+ int32_t id,
+ uint32_t size) {
EnterHostFromHostResourceForceCallback<PPB_VideoDecoder_Dev_API> enter(
decoder, callback_factory_,
&PPB_VideoDecoder_Proxy::SendMsgEndOfBitstreamACKToPlugin, decoder, id);
@@ -254,7 +256,8 @@ void PPB_VideoDecoder_Proxy::OnMsgAssignPictureBuffers(
}
void PPB_VideoDecoder_Proxy::OnMsgReusePictureBuffer(
- const HostResource& decoder, int32 picture_buffer_id) {
+ const HostResource& decoder,
+ int32_t picture_buffer_id) {
EnterHostFromHostResource<PPB_VideoDecoder_Dev_API> enter(decoder);
if (enter.succeeded())
enter.object()->ReusePictureBuffer(picture_buffer_id);
@@ -283,7 +286,9 @@ void PPB_VideoDecoder_Proxy::OnMsgDestroy(const HostResource& decoder) {
}
void PPB_VideoDecoder_Proxy::SendMsgEndOfBitstreamACKToPlugin(
- int32_t result, const HostResource& decoder, int32 id) {
+ int32_t result,
+ const HostResource& decoder,
+ int32_t id) {
dispatcher()->Send(new PpapiMsg_PPBVideoDecoder_EndOfBitstreamACK(
API_ID_PPB_VIDEO_DECODER_DEV, decoder, id, result));
}
« no previous file with comments | « ppapi/proxy/ppb_video_decoder_proxy.h ('k') | ppapi/proxy/ppb_x509_certificate_private_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698