Index: chrome/browser/sync/profile_sync_service_session_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_session_unittest.cc b/chrome/browser/sync/profile_sync_service_session_unittest.cc |
index 0b860fc702d0675c6fcf273c724c57b7952528b9..2a32d8d57f3fe2bd8c29499fab294ed75bc13d8b 100644 |
--- a/chrome/browser/sync/profile_sync_service_session_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_session_unittest.cc |
@@ -315,7 +315,8 @@ TEST_F(ProfileSyncServiceSessionTest, WriteSessionToNode) { |
// Check that we can get the correct session specifics back from the node. |
sync_api::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); |
sync_api::ReadNode node(&trans); |
- ASSERT_TRUE(node.InitByClientTagLookup(syncable::SESSIONS, machine_tag)); |
+ ASSERT_EQ(sync_api::BaseNode::INIT_OK, |
+ node.InitByClientTagLookup(syncable::SESSIONS, machine_tag)); |
const sync_pb::SessionSpecifics& specifics(node.GetSessionSpecifics()); |
ASSERT_EQ(machine_tag, specifics.session_tag()); |
ASSERT_TRUE(specifics.has_header()); |