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

Unified Diff: gpu/command_buffer/service/memory_program_cache_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
« no previous file with comments | « gpu/command_buffer/service/memory_program_cache.cc ('k') | gpu/command_buffer/service/memory_tracking.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/memory_program_cache_unittest.cc
diff --git a/gpu/command_buffer/service/memory_program_cache_unittest.cc b/gpu/command_buffer/service/memory_program_cache_unittest.cc
index f92860f20369dc6c48fd331a6edfa97697f7c677..9b98e566833f0d83e49755e2439f54b2324b6fa4 100644
--- a/gpu/command_buffer/service/memory_program_cache_unittest.cc
+++ b/gpu/command_buffer/service/memory_program_cache_unittest.cc
@@ -4,6 +4,9 @@
#include "gpu/command_buffer/service/memory_program_cache.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/bind.h"
#include "gpu/command_buffer/common/gles2_cmd_format.h"
#include "gpu/command_buffer/service/gl_utils.h"
@@ -81,7 +84,7 @@ class MemoryProgramCacheTest : public GpuServiceTest {
shader_cache_shader_ = shader;
}
- int32 shader_cache_count() { return shader_cache_count_; }
+ int32_t shader_cache_count() { return shader_cache_count_; }
const std::string& shader_cache_shader() { return shader_cache_shader_; }
protected:
@@ -181,7 +184,7 @@ class MemoryProgramCacheTest : public GpuServiceTest {
ShaderManager shader_manager_;
Shader* vertex_shader_;
Shader* fragment_shader_;
- int32 shader_cache_count_;
+ int32_t shader_cache_count_;
std::string shader_cache_shader_;
std::vector<std::string> varyings_;
};
« no previous file with comments | « gpu/command_buffer/service/memory_program_cache.cc ('k') | gpu/command_buffer/service/memory_tracking.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698