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

Unified Diff: components/mus/gles2/command_buffer_driver.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 | « components/mus/gles2/command_buffer_driver.h ('k') | components/mus/gles2/command_buffer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/command_buffer_driver.cc
diff --git a/components/mus/gles2/command_buffer_driver.cc b/components/mus/gles2/command_buffer_driver.cc
index d4b45d78014e7bbfb105874987c3db0a5fa873c8..f0ea1484b4e46b6638270b0edf20e36a683d34c0 100644
--- a/components/mus/gles2/command_buffer_driver.cc
+++ b/components/mus/gles2/command_buffer_driver.cc
@@ -4,11 +4,14 @@
#include "components/mus/gles2/command_buffer_driver.h"
+#include <stddef.h>
+
#include "base/atomic_sequence_num.h"
#include "base/bind.h"
#include "base/macros.h"
#include "base/memory/shared_memory.h"
#include "base/process/process_handle.h"
+#include "build/build_config.h"
#include "components/mus/gles2/gpu_memory_tracker.h"
#include "components/mus/gles2/gpu_state.h"
#include "components/mus/gles2/mojo_buffer_backing.h"
@@ -130,7 +133,7 @@ bool CommandBufferDriver::DoInitialize(
gpu::gles2::DisallowedFeatures disallowed_features;
const bool offscreen = true;
- std::vector<int32> attrib_vector;
+ std::vector<int32_t> attrib_vector;
attrib_helper.Serialize(&attrib_vector);
if (!decoder_->Initialize(surface_, context_, offscreen, gfx::Size(1, 1),
disallowed_features, attrib_vector))
@@ -191,7 +194,7 @@ void CommandBufferDriver::DestroyTransferBuffer(int32_t id) {
void CommandBufferDriver::CreateImage(int32_t id,
mojo::ScopedHandle memory_handle,
- int32 type,
+ int32_t type,
mojo::SizePtr size,
int32_t format,
int32_t internal_format) {
« no previous file with comments | « components/mus/gles2/command_buffer_driver.h ('k') | components/mus/gles2/command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698