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

Unified Diff: gpu/command_buffer/tests/gl_bind_uniform_location_unittest.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/tests/gl_bind_uniform_location_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_bind_uniform_location_unittest.cc b/gpu/command_buffer/tests/gl_bind_uniform_location_unittest.cc
index 5c19cf0bcc503c047f0246707c35150b722dd746..3afb5f716ad1e0133f42562ba5f64116af8511dc 100644
--- a/gpu/command_buffer/tests/gl_bind_uniform_location_unittest.cc
+++ b/gpu/command_buffer/tests/gl_bind_uniform_location_unittest.cc
@@ -5,6 +5,7 @@
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <GLES2/gl2extchromium.h>
+#include <stdint.h>
#include "gpu/command_buffer/tests/gl_manager.h"
#include "gpu/command_buffer/tests/gl_test_utils.h"
@@ -93,7 +94,7 @@ TEST_P(BindUniformLocationTest, Basic) {
glDrawArrays(GL_TRIANGLES, 0, 6);
- static const uint8 expected[] = { 64, 128, 192, 255 };
+ static const uint8_t expected[] = {64, 128, 192, 255};
EXPECT_TRUE(
GLTestHelper::CheckPixels(0, 0, kResolution, kResolution, 1, expected));
@@ -260,7 +261,7 @@ TEST_P(BindUniformLocationTest, Compositor) {
glDrawArrays(GL_TRIANGLES, 0, 6);
- static const uint8 expected[] = { 204, 204, 204, 204 };
+ static const uint8_t expected[] = {204, 204, 204, 204};
EXPECT_TRUE(
GLTestHelper::CheckPixels(0, 0, kResolution, kResolution, 1, expected));

Powered by Google App Engine
This is Rietveld 408576698