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

Unified Diff: gpu/gles2_conform_support/gles2_conform_test.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/gles2_conform_support/egl/surface.h ('k') | gpu/gles2_conform_support/native/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/gles2_conform_test.cc
diff --git a/gpu/gles2_conform_support/gles2_conform_test.cc b/gpu/gles2_conform_support/gles2_conform_test.cc
index 42964e41ada6f074aa0516253fd9ae1b52befc9b..054d37817ba1e2043686dca21468566e6784a483 100644
--- a/gpu/gles2_conform_support/gles2_conform_test.cc
+++ b/gpu/gles2_conform_support/gles2_conform_test.cc
@@ -4,6 +4,9 @@
#include "gpu/gles2_conform_support/gles2_conform_test.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
#include "base/at_exit.h"
@@ -47,7 +50,7 @@ bool RunGLES2ConformTest(const char* path) {
// Set the bot config api based on the OS and command line
base::CommandLine* current_cmd_line = base::CommandLine::ForCurrentProcess();
- int32 config_os = bot_config.os();
+ int32_t config_os = bot_config.os();
if ((config_os & gpu::GPUTestConfig::kOsWin) != 0) {
std::string angle_renderer =
current_cmd_line->HasSwitch("use-angle")
@@ -81,8 +84,8 @@ bool RunGLES2ConformTest(const char* path) {
std::string path_string(path);
std::string test_name;
base::ReplaceChars(path_string, "\\/.", "_", &test_name);
- int32 expectation =
- test_expectations.GetTestExpectation(test_name, bot_config);
+ int32_t expectation =
+ test_expectations.GetTestExpectation(test_name, bot_config);
if (expectation != gpu::GPUTestExpectationsParser::kGpuTestPass) {
LOG(WARNING) << "Test " << test_name << " is bypassed";
return true;
« no previous file with comments | « gpu/gles2_conform_support/egl/surface.h ('k') | gpu/gles2_conform_support/native/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698