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

Unified Diff: cc/test/pixel_comparator.cc

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes 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 | « cc/test/ordered_texture_map.cc ('k') | cc/test/render_pass_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_comparator.cc
diff --git a/cc/test/pixel_comparator.cc b/cc/test/pixel_comparator.cc
index 4067787cef569c2b472608f2081e762a2c1e4753..4b4318899b14742884a66ca88a83b03626b7382c 100644
--- a/cc/test/pixel_comparator.cc
+++ b/cc/test/pixel_comparator.cc
@@ -4,6 +4,8 @@
#include "cc/test/pixel_comparator.h"
+#include <stdint.h>
+
#include <algorithm>
#include "base/logging.h"
@@ -75,10 +77,10 @@ bool FuzzyPixelComparator::Compare(const SkBitmap& actual_bmp,
// Number of pixels with a small error
int small_error_pixels_count = 0;
// The per channel sums of absolute errors over all pixels.
- int64 sum_abs_error_r = 0;
- int64 sum_abs_error_g = 0;
- int64 sum_abs_error_b = 0;
- int64 sum_abs_error_a = 0;
+ int64_t sum_abs_error_r = 0;
+ int64_t sum_abs_error_g = 0;
+ int64_t sum_abs_error_b = 0;
+ int64_t sum_abs_error_a = 0;
// The per channel maximum absolute errors over all pixels.
int max_abs_error_r = 0;
int max_abs_error_g = 0;
« no previous file with comments | « cc/test/ordered_texture_map.cc ('k') | cc/test/render_pass_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698