| Index: gpu/command_buffer/common/gles2_cmd_utils_unittest.cc
|
| ===================================================================
|
| --- gpu/command_buffer/common/gles2_cmd_utils_unittest.cc (revision 88544)
|
| +++ gpu/command_buffer/common/gles2_cmd_utils_unittest.cc (working copy)
|
| @@ -24,8 +24,8 @@
|
| };
|
|
|
| TEST_F(GLES2UtilTest, ComputeImageDataSizeFormats) {
|
| - const int kWidth = 16;
|
| - const int kHeight = 12;
|
| + const uint32 kWidth = 16;
|
| + const uint32 kHeight = 12;
|
| uint32 size;
|
| EXPECT_TRUE(GLES2Util::ComputeImageDataSize(
|
| kWidth, kHeight, GL_RGB, GL_UNSIGNED_BYTE, 1, &size));
|
| @@ -55,8 +55,8 @@
|
| }
|
|
|
| TEST_F(GLES2UtilTest, ComputeImageDataSizeTypes) {
|
| - const int kWidth = 16;
|
| - const int kHeight = 12;
|
| + const uint32 kWidth = 16;
|
| + const uint32 kHeight = 12;
|
| uint32 size;
|
| EXPECT_TRUE(GLES2Util::ComputeImageDataSize(
|
| kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, 1, &size));
|
| @@ -73,8 +73,8 @@
|
| }
|
|
|
| TEST_F(GLES2UtilTest, ComputeImageDataSizeUnpackAlignment) {
|
| - const int kWidth = 19;
|
| - const int kHeight = 12;
|
| + const uint32 kWidth = 19;
|
| + const uint32 kHeight = 12;
|
| uint32 size;
|
| EXPECT_TRUE(GLES2Util::ComputeImageDataSize(
|
| kWidth, kHeight, GL_RGB, GL_UNSIGNED_BYTE, 1, &size));
|
|
|