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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_valuebuffer.cc

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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: gpu/command_buffer/service/gles2_cmd_decoder_unittest_valuebuffer.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_valuebuffer.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_valuebuffer.cc
index 47e6a6b8a7a4fc4f8d363cb669567043b91da49b..8f1b0e03951f6467b38a253facd8c7b583df5e19 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_valuebuffer.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_valuebuffer.cc
@@ -4,6 +4,8 @@
#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
+#include <stdint.h>
+
#include "base/command_line.h"
#include "gpu/command_buffer/common/gles2_cmd_format.h"
#include "gpu/command_buffer/common/gles2_cmd_utils.h"
@@ -24,7 +26,7 @@ namespace gles2 {
using namespace cmds;
TEST_P(GLES2DecoderWithShaderTest, ValuebufferBasic) {
- const uint32 kBufferId = 123;
+ const uint32_t kBufferId = 123;
ValueState valuestate;
valuestate.int_value[0] = 111;
valuestate.int_value[1] = 222;
@@ -48,7 +50,7 @@ TEST_P(GLES2DecoderWithShaderTest, ValuebufferBasic) {
}
TEST_P(GLES2DecoderWithShaderTest, SubscribeValuebufferNotBound) {
- const uint32 kBufferId = 123;
+ const uint32_t kBufferId = 123;
ValueState valuestate;
valuestate.int_value[0] = 111;
valuestate.int_value[1] = 222;
@@ -62,7 +64,7 @@ TEST_P(GLES2DecoderWithShaderTest, SubscribeValuebufferNotBound) {
}
TEST_P(GLES2DecoderWithShaderTest, PopulateValuebufferNoSubscription) {
- const uint32 kBufferId = 123;
+ const uint32_t kBufferId = 123;
ValueState valuestate;
valuestate.int_value[0] = 111;
valuestate.int_value[1] = 222;
@@ -79,7 +81,7 @@ TEST_P(GLES2DecoderWithShaderTest, PopulateValuebufferNoSubscription) {
}
TEST_P(GLES2DecoderWithShaderTest, UniformValuebufferNoState) {
- const uint32 kBufferId = 123;
+ const uint32_t kBufferId = 123;
ValueState valuestate;
valuestate.int_value[0] = 111;
valuestate.int_value[1] = 222;
@@ -101,7 +103,7 @@ TEST_P(GLES2DecoderWithShaderTest, UniformValuebufferNoState) {
}
TEST_P(GLES2DecoderWithShaderTest, UniformValuebufferInvalidLocation) {
- const uint32 kBufferId = 123;
+ const uint32_t kBufferId = 123;
ValueState valuestate;
valuestate.int_value[0] = 111;
valuestate.int_value[1] = 222;
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc ('k') | gpu/command_buffer/service/gles2_cmd_validation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698