Index: chrome/browser/spellchecker/misspelling.h |
diff --git a/chrome/browser/spellchecker/misspelling.h b/chrome/browser/spellchecker/misspelling.h |
index 44bd78a67ff07b672bfc78e7782a85cf7e034c7d..43b64749b4b4bb06dae6c774ceb9f56aba1bf3d0 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" |
@@ -63,9 +64,9 @@ struct Misspelling { |
base::Time timestamp; |
}; |
-// Serializes the data in this object into a dictionary value. The caller owns |
-// the result. |
-base::DictionaryValue* SerializeMisspelling(const Misspelling& misspelling); |
+// Serializes the data in this object into a dictionary value. |
+scoped_ptr<base::DictionaryValue> SerializeMisspelling( |
+ const Misspelling& misspelling); |
// Returns the substring of |context| that begins at |location| and contains |
// |length| characters. |