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

Unified Diff: content/common/mac/font_loader.h

Issue 1499423004: Remove kint32max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint9
Patch Set: rebase 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 | « content/common/gpu/media/android_video_encode_accelerator.cc ('k') | content/common/mac/font_loader.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mac/font_loader.h
diff --git a/content/common/mac/font_loader.h b/content/common/mac/font_loader.h
index 2f9f8982a5b414c688090e75ffa2155020136bbc..b4bbd470abaf42ead5e7d0b9fd856f53190cc078 100644
--- a/content/common/mac/font_loader.h
+++ b/content/common/mac/font_loader.h
@@ -6,6 +6,7 @@
#define CONTENT_COMMON_MAC_FONT_LOADER_H_
#include <ApplicationServices/ApplicationServices.h>
+#include <stdint.h>
#include "base/memory/shared_memory.h"
#include "content/common/content_export.h"
@@ -30,9 +31,9 @@ class FontLoader {
// LoadFont(), which should run on the file thread, then it is passed to a
// task which sends the result to the originating renderer.
struct Result {
- uint32 font_data_size;
+ uint32_t font_data_size;
base::SharedMemory font_data;
- uint32 font_id;
+ uint32_t font_id;
};
// Load a font specified by |font| into a shared memory buffer suitable for
// sending over IPC.
@@ -61,7 +62,7 @@ class FontLoader {
// when done.
CONTENT_EXPORT
static bool CGFontRefFromBuffer(base::SharedMemoryHandle font_data,
- uint32 font_data_size,
+ uint32_t font_data_size,
CGFontRef* out);
};
« no previous file with comments | « content/common/gpu/media/android_video_encode_accelerator.cc ('k') | content/common/mac/font_loader.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698