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

Unified Diff: ui/gfx/chromeos/codec/jpeg_codec_robust_slow_unittest.cc

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ui/gfx/canvas_unittest.cc ('k') | ui/gfx/codec/jpeg_codec_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/chromeos/codec/jpeg_codec_robust_slow_unittest.cc
diff --git a/ui/gfx/chromeos/codec/jpeg_codec_robust_slow_unittest.cc b/ui/gfx/chromeos/codec/jpeg_codec_robust_slow_unittest.cc
index 56f64e70bbf9725f6192472f71b7f94f7d54039a..35e53eaa74475324fbfd7a41739fc5ec25713c87 100644
--- a/ui/gfx/chromeos/codec/jpeg_codec_robust_slow_unittest.cc
+++ b/ui/gfx/chromeos/codec/jpeg_codec_robust_slow_unittest.cc
@@ -3,8 +3,9 @@
// found in the LICENSE file.
#include <math.h>
+#include <stdint.h>
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/chromeos/codec/jpeg_codec_robust_slow.h"
@@ -12,7 +13,7 @@ namespace {
// A JPEG image used by TopSitesMigrationTest, whose size is 1x1.
// This image causes an invalid-read error to libjpeg-turbo 1.0.1.
-const uint8 kTopSitesMigrationTestImage[] =
+const uint8_t kTopSitesMigrationTestImage[] =
"\xff\xd8\xff\xe0\x00\x10\x4a\x46\x49\x46\x00\x01\x01\x00\x00\x01"
"\x00\x01\x00\x00\xff\xdb\x00\x43\x00\x03\x02\x02\x03\x02\x02\x03"
"\x03\x03\x03\x04\x03\x03\x04\x05\x08\x05\x05\x04\x04\x05\x0a\x07"
« no previous file with comments | « ui/gfx/canvas_unittest.cc ('k') | ui/gfx/codec/jpeg_codec_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698