summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_service_password_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/profile_sync_service_password_unittest.cc')
-rw-r--r--chrome/browser/sync/profile_sync_service_password_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/sync/profile_sync_service_password_unittest.cc b/chrome/browser/sync/profile_sync_service_password_unittest.cc
index 7185ea9..caf789c 100644
--- a/chrome/browser/sync/profile_sync_service_password_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_password_unittest.cc
@@ -146,9 +146,9 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest {
sync_api::WriteNode node(&trans);
std::string tag = PasswordModelAssociator::MakeTag(entry);
- ASSERT_TRUE(node.InitUniqueByCreation(syncable::PASSWORDS,
- password_root,
- tag));
+ sync_api::WriteNode::InitUniqueByCreationResult result =
+ node.InitUniqueByCreation(syncable::PASSWORDS, password_root, tag);
+ ASSERT_EQ(sync_api::WriteNode::INIT_SUCCESS, result);
PasswordModelAssociator::WriteToSyncNode(entry, &node);
}