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

Unified Diff: chrome/common/spellcheck_marker.h

Issue 1548153002: Switch to standard integer types in chrome/. (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 | « chrome/common/spellcheck_common.h ('k') | chrome/common/spellcheck_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/spellcheck_marker.h
diff --git a/chrome/common/spellcheck_marker.h b/chrome/common/spellcheck_marker.h
index bc02918460cbfef43ef764f0f97dbbf56a965940..cb2de3f7bf5fd58f56d67391913d3185313399c3 100644
--- a/chrome/common/spellcheck_marker.h
+++ b/chrome/common/spellcheck_marker.h
@@ -5,6 +5,9 @@
#ifndef CHROME_COMMON_SPELLCHECK_MARKER_H_
#define CHROME_COMMON_SPELLCHECK_MARKER_H_
+#include <stddef.h>
+#include <stdint.h>
+
class SpellCheckMarker {
public:
// A predicate to test spellcheck marker validity.
@@ -22,9 +25,9 @@ class SpellCheckMarker {
// IPC requires a default constructor.
SpellCheckMarker() : hash(0xFFFFFFFF), offset(static_cast<size_t>(-1)) {}
- SpellCheckMarker(uint32 hash, size_t offset) : hash(hash), offset(offset) {}
+ SpellCheckMarker(uint32_t hash, size_t offset) : hash(hash), offset(offset) {}
- uint32 hash;
+ uint32_t hash;
size_t offset;
};
« no previous file with comments | « chrome/common/spellcheck_common.h ('k') | chrome/common/spellcheck_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698