summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/sync_encryption_handler_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sync/internal_api/sync_encryption_handler_impl.cc')
-rw-r--r--sync/internal_api/sync_encryption_handler_impl.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/sync/internal_api/sync_encryption_handler_impl.cc b/sync/internal_api/sync_encryption_handler_impl.cc
index 48ad2a8..2e28e75 100644
--- a/sync/internal_api/sync_encryption_handler_impl.cc
+++ b/sync/internal_api/sync_encryption_handler_impl.cc
@@ -810,10 +810,8 @@ void SyncEncryptionHandlerImpl::ReEncryptEverything(
continue;
WriteNode child(trans);
- if (child.InitByIdLookup(child_id) != BaseNode::INIT_OK) {
- NOTREACHED();
- continue;
- }
+ if (child.InitByIdLookup(child_id) != BaseNode::INIT_OK)
+ continue; // Possible for locally deleted items.
if (child.GetIsFolder()) {
to_visit.push(child.GetFirstChildId());
}