Index: chrome/browser/sync/engine/verify_updates_command.cc |
diff --git a/chrome/browser/sync/engine/verify_updates_command.cc b/chrome/browser/sync/engine/verify_updates_command.cc |
index 83d0257f3b1cc682ed6a20e4cb51fb5ad61374a7..216eff52e4645c0761b4972ada67b0c3d4a24223 100644 |
--- a/chrome/browser/sync/engine/verify_updates_command.cc |
+++ b/chrome/browser/sync/engine/verify_updates_command.cc |
@@ -68,9 +68,8 @@ VerifyResult VerifyUpdatesCommand::VerifyUpdate( |
return VERIFY_FAIL; |
} |
{ |
- SyncName name = SyncerProtoUtil::NameFromSyncEntity(entry); |
- if ((name.value().empty() || name.non_unique_value().empty()) && |
- !deleted) { |
+ const std::string name = SyncerProtoUtil::NameFromSyncEntity(entry); |
+ if (name.empty() && !deleted) { |
LOG(ERROR) << "Zero length name in non-deleted update"; |
return VERIFY_FAIL; |
} |