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

Unified Diff: content/renderer/pepper/ppb_graphics_3d_impl.h

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: content/renderer/pepper/ppb_graphics_3d_impl.h
diff --git a/content/renderer/pepper/ppb_graphics_3d_impl.h b/content/renderer/pepper/ppb_graphics_3d_impl.h
index 8fbde07a1cd1f816a450bd006553dd1e9d43bcc4..3d103f2d47b740822b0bd6d351ac488f83f1529c 100644
--- a/content/renderer/pepper/ppb_graphics_3d_impl.h
+++ b/content/renderer/pepper/ppb_graphics_3d_impl.h
@@ -5,6 +5,9 @@
#ifndef CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
#define CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/memory/shared_memory.h"
#include "base/memory/weak_ptr.h"
#include "gpu/command_buffer/common/mailbox.h"
@@ -35,7 +38,7 @@ class PPB_Graphics3D_Impl : public ppapi::PPB_Graphics3D_Shared {
// PPB_Graphics3D_API trusted implementation.
PP_Bool SetGetBuffer(int32_t transfer_buffer_id) override;
scoped_refptr<gpu::Buffer> CreateTransferBuffer(uint32_t size,
- int32* id) override;
+ int32_t* id) override;
PP_Bool DestroyTransferBuffer(int32_t id) override;
PP_Bool Flush(int32_t put_offset) override;
gpu::CommandBuffer::State WaitForTokenInRange(int32_t start,
@@ -57,7 +60,7 @@ class PPB_Graphics3D_Impl : public ppapi::PPB_Graphics3D_Shared {
// These messages are used to send Flush callbacks to the plugin.
void ViewInitiatedPaint();
- void GetBackingMailbox(gpu::Mailbox* mailbox, uint32* sync_point) {
+ void GetBackingMailbox(gpu::Mailbox* mailbox, uint32_t* sync_point) {
*mailbox = mailbox_;
*sync_point = sync_point_;
}
@@ -71,7 +74,7 @@ class PPB_Graphics3D_Impl : public ppapi::PPB_Graphics3D_Shared {
// ppapi::PPB_Graphics3D_Shared overrides.
gpu::CommandBuffer* GetCommandBuffer() override;
gpu::GpuControl* GetGpuControl() override;
- int32 DoSwapBuffers() override;
+ int32_t DoSwapBuffers() override;
private:
explicit PPB_Graphics3D_Impl(PP_Instance instance);
@@ -96,7 +99,7 @@ class PPB_Graphics3D_Impl : public ppapi::PPB_Graphics3D_Shared {
bool commit_pending_;
gpu::Mailbox mailbox_;
- uint32 sync_point_;
+ uint32_t sync_point_;
bool has_alpha_;
scoped_refptr<GpuChannelHost> channel_;
scoped_ptr<CommandBufferProxyImpl> command_buffer_;
« no previous file with comments | « content/renderer/pepper/ppb_flash_message_loop_impl.h ('k') | content/renderer/pepper/ppb_graphics_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698