Index: chrome/common/spellcheck_marker.h |
diff --git a/chrome/common/spellcheck_marker.h b/chrome/common/spellcheck_marker.h |
index cb2de3f7bf5fd58f56d67391913d3185313399c3..4305c22f0efab67ff359e506f6e4e5f4f5a03a74 100644 |
--- a/chrome/common/spellcheck_marker.h |
+++ b/chrome/common/spellcheck_marker.h |
@@ -23,12 +23,13 @@ class SpellCheckMarker { |
}; |
// IPC requires a default constructor. |
- SpellCheckMarker() : hash(0xFFFFFFFF), offset(static_cast<size_t>(-1)) {} |
+ SpellCheckMarker() : hash(0xFFFFFFFF), offset(UINT32_MAX) {} |
- SpellCheckMarker(uint32_t hash, size_t offset) : hash(hash), offset(offset) {} |
+ SpellCheckMarker(uint32_t hash, uint32_t offset) |
+ : hash(hash), offset(offset) {} |
uint32_t hash; |
- size_t offset; |
+ uint32_t offset; |
}; |
#endif // CHROME_COMMON_SPELLCHECK_MARKER_H_ |