summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc')
-rw-r--r--chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc b/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc
index d196f65..58c3d1b 100644
--- a/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc
+++ b/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc
@@ -154,7 +154,10 @@ class SyncErrorFactoryStub : public syncer::SyncErrorFactory {
const tracked_objects::Location& location,
const std::string& message) OVERRIDE {
(*error_counter_)++;
- return syncer::SyncError(location, message, syncer::DICTIONARY);
+ return syncer::SyncError(location,
+ syncer::SyncError::DATATYPE_ERROR,
+ message,
+ syncer::DICTIONARY);
}
private: