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

Unified Diff: gpu/command_buffer/service/vertex_array_manager_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/service/vertex_array_manager_unittest.cc
diff --git a/gpu/command_buffer/service/vertex_array_manager_unittest.cc b/gpu/command_buffer/service/vertex_array_manager_unittest.cc
index 0d3d1d0a9d0efebdd04c5351086b29430ddafa01..73f9bc7e20705332db503a1817cd4e573b406bef 100644
--- a/gpu/command_buffer/service/vertex_array_manager_unittest.cc
+++ b/gpu/command_buffer/service/vertex_array_manager_unittest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stdint.h>
+
#include "gpu/command_buffer/service/vertex_array_manager.h"
#include "gpu/command_buffer/service/vertex_attrib_manager.h"
@@ -20,7 +22,7 @@ namespace gles2 {
class VertexArrayManagerTest : public GpuServiceTest {
public:
- static const uint32 kNumVertexAttribs = 8;
+ static const uint32_t kNumVertexAttribs = 8;
VertexArrayManagerTest() {
}
@@ -43,7 +45,7 @@ class VertexArrayManagerTest : public GpuServiceTest {
// GCC requires these declarations, but MSVC requires they not be present
#ifndef COMPILER_MSVC
-const uint32 VertexArrayManagerTest::kNumVertexAttribs;
+const uint32_t VertexArrayManagerTest::kNumVertexAttribs;
#endif
TEST_F(VertexArrayManagerTest, Basic) {
« no previous file with comments | « gpu/command_buffer/service/vertex_array_manager.cc ('k') | gpu/command_buffer/service/vertex_attrib_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698