Index: components/sync_driver/model_association_manager_unittest.cc |
diff --git a/components/sync_driver/model_association_manager_unittest.cc b/components/sync_driver/model_association_manager_unittest.cc |
index 906d99bb3bd3c033c4c93a3370508e65b33b586d..5c2631967ea1a04bfc8cf8c15db15fa7d7c22051 100644 |
--- a/components/sync_driver/model_association_manager_unittest.cc |
+++ b/components/sync_driver/model_association_manager_unittest.cc |
@@ -339,8 +339,12 @@ TEST_F(SyncModelAssociationManagerTest, StopAfterConfiguration) { |
testing::Mock::VerifyAndClearExpectations(&delegate_); |
EXPECT_CALL(delegate_, |
OnSingleDataTypeWillStop(syncer::BOOKMARKS, _)); |
+ syncer::SyncError error(FROM_HERE, |
+ syncer::SyncError::DATATYPE_ERROR, |
+ "error", |
+ syncer::BOOKMARKS); |
GetController(controllers_, syncer::BOOKMARKS) |
- ->OnSingleDatatypeUnrecoverableError(FROM_HERE, "runtime error"); |
+ ->OnSingleDataTypeUnrecoverableError(error); |
} |
} // namespace sync_driver |