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

Unified Diff: skia/ext/skia_utils_ios.mm

Issue 1540963004: Switch to standard integer types in skia/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed some 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: skia/ext/skia_utils_ios.mm
diff --git a/skia/ext/skia_utils_ios.mm b/skia/ext/skia_utils_ios.mm
index afa84ab735d49d382f191fdcafb0a85c4481a6a4..33a6f244ab9778c2dda63b671a6f2e166244cc6f 100644
--- a/skia/ext/skia_utils_ios.mm
+++ b/skia/ext/skia_utils_ios.mm
@@ -5,6 +5,8 @@
#include "skia/ext/skia_utils_ios.h"
#import <ImageIO/ImageIO.h>
+#include <stddef.h>
+#include <stdint.h>
#import <UIKit/UIKit.h>
#include "base/ios/ios_util.h"
@@ -15,7 +17,7 @@
namespace {
-const uint8 kICOHeaderMagic[4] = {0x00, 0x00, 0x01, 0x00};
+const uint8_t kICOHeaderMagic[4] = {0x00, 0x00, 0x01, 0x00};
// Returns whether the data encodes an ico image.
bool EncodesIcoImage(NSData* image_data) {

Powered by Google App Engine
This is Rietveld 408576698