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

Unified Diff: chrome/common/spellcheck_marker.h

Issue 15318004: Store feedback for spellcheck results from spelling service (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Move typedefs to feedback.h Created 7 years, 7 months 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: chrome/common/spellcheck_marker.h
diff --git a/chrome/common/spellcheck_marker.h b/chrome/common/spellcheck_marker.h
index 0acb7f400f295ba8336e4f981ea70ef85e398ac5..3171a17db0c708b2c9d40bd95f48ac130fb0bf6e 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(0), offset(0) {}
groby-ooo-7-16 2013/05/23 19:10:50 Please set offset to MAX_UINT - I'd like it to be
please use gerrit instead 2013/05/23 19:50:47 Changed to MAX_UINT and asked Chris.
+
SpellCheckMarker(uint32 hash, size_t offset) : hash(hash), offset(offset) {}
uint32 hash;

Powered by Google App Engine
This is Rietveld 408576698