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

Unified Diff: chrome/browser/spellchecker/misspelling.h

Issue 1665023002: Cheer up spell-checking code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/browser/spellchecker/misspelling.h
diff --git a/chrome/browser/spellchecker/misspelling.h b/chrome/browser/spellchecker/misspelling.h
index 44bd78a67ff07b672bfc78e7782a85cf7e034c7d..c7fa8424dcca04c094c5448cee4efe8b499bf96f 100644
--- a/chrome/browser/spellchecker/misspelling.h
+++ b/chrome/browser/spellchecker/misspelling.h
@@ -17,6 +17,7 @@
#include <vector>
+#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "chrome/browser/spellchecker/spellcheck_action.h"
@@ -65,7 +66,8 @@ struct Misspelling {
// Serializes the data in this object into a dictionary value. The caller owns
please use gerrit instead 2016/02/03 23:59:10 "The caller owns the result." is not necessary, as
Kevin Bailey 2016/02/04 16:34:11 Done.
// the result.
-base::DictionaryValue* SerializeMisspelling(const Misspelling& misspelling);
+scoped_ptr<base::DictionaryValue> SerializeMisspelling(
+ const Misspelling& misspelling);
// Returns the substring of |context| that begins at |location| and contains
// |length| characters.

Powered by Google App Engine
This is Rietveld 408576698