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

Unified Diff: ppapi/shared_impl/ppb_graphics_3d_shared.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/shared_impl/ppb_graphics_3d_shared.h ('k') | ppapi/shared_impl/ppb_input_event_shared.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_graphics_3d_shared.cc
diff --git a/ppapi/shared_impl/ppb_graphics_3d_shared.cc b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
index 3dadacb86c56abffb9cbaa2af6045efdbff45a18..81b8949545d939df9cd5c17afc911300bf03fb9b 100644
--- a/ppapi/shared_impl/ppb_graphics_3d_shared.cc
+++ b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
@@ -100,8 +100,8 @@ bool PPB_Graphics3D_Shared::HasPendingSwap() const {
}
bool PPB_Graphics3D_Shared::CreateGLES2Impl(
- int32 command_buffer_size,
- int32 transfer_buffer_size,
+ int32_t command_buffer_size,
+ int32_t transfer_buffer_size,
gpu::gles2::GLES2Implementation* share_gles2) {
gpu::CommandBuffer* command_buffer = GetCommandBuffer();
DCHECK(command_buffer);
@@ -113,8 +113,8 @@ bool PPB_Graphics3D_Shared::CreateGLES2Impl(
// Create a transfer buffer used to copy resources between the renderer
// process and the GPU process.
- const int32 kMinTransferBufferSize = 256 * 1024;
- const int32 kMaxTransferBufferSize = 16 * 1024 * 1024;
+ const int32_t kMinTransferBufferSize = 256 * 1024;
+ const int32_t kMaxTransferBufferSize = 16 * 1024 * 1024;
transfer_buffer_.reset(new gpu::TransferBuffer(gles2_helper_.get()));
const bool bind_creates_resources = true;
« no previous file with comments | « ppapi/shared_impl/ppb_graphics_3d_shared.h ('k') | ppapi/shared_impl/ppb_input_event_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698