Index: chrome/common/spellcheck_marker.h |
diff --git a/chrome/common/spellcheck_marker.h b/chrome/common/spellcheck_marker.h |
index 0acb7f400f295ba8336e4f981ea70ef85e398ac5..551f7dcd1cdac6410e05752195d7aece8f0a375c 100644 |
--- a/chrome/common/spellcheck_marker.h |
+++ b/chrome/common/spellcheck_marker.h |
@@ -6,6 +6,9 @@ |
#define CHROME_COMMON_SPELLCHECK_MARKER_H_ |
struct SpellCheckMarker { |
+ // IPC requires a default constructor. |
+ SpellCheckMarker() : hash(-1), offset(-1) {} |
+ |
SpellCheckMarker(uint32 hash, size_t offset) : hash(hash), offset(offset) {} |
uint32 hash; |