| Index: gpu/command_buffer/tests/gl_test_utils.h
|
| diff --git a/gpu/command_buffer/tests/gl_test_utils.h b/gpu/command_buffer/tests/gl_test_utils.h
|
| index 802d54d18ec715b1f48171231da8f931d47614aa..537442fbe035eab42f454ff21ceff002b00ff875 100644
|
| --- a/gpu/command_buffer/tests/gl_test_utils.h
|
| +++ b/gpu/command_buffer/tests/gl_test_utils.h
|
| @@ -8,11 +8,11 @@
|
| #define GPU_COMMAND_BUFFER_TESTS_GL_TEST_UTILS_H_
|
|
|
| #include <GLES2/gl2.h>
|
| -#include "base/basictypes.h"
|
| +#include <stdint.h>
|
|
|
| class GLTestHelper {
|
| public:
|
| - static const uint8 kCheckClearValue = 123u;
|
| + static const uint8_t kCheckClearValue = 123u;
|
|
|
| static bool HasExtension(const char* extension);
|
| static bool CheckGLError(const char* msg, int line);
|
| @@ -49,9 +49,12 @@ class GLTestHelper {
|
| GLint location, const GLfloat color[4], GLenum usage);
|
|
|
| // Checks an area of pixels for a color.
|
| - static bool CheckPixels(
|
| - GLint x, GLint y, GLsizei width, GLsizei height, GLint tolerance,
|
| - const uint8* color);
|
| + static bool CheckPixels(GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLint tolerance,
|
| + const uint8_t* color);
|
|
|
| // Uses ReadPixels to save an area of the current FBO/Backbuffer.
|
| static bool SaveBackbufferAsBMP(const char* filename, int width, int height);
|
|
|