Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(916)

Unified Diff: chrome/browser/sync/engine/verify_updates_command.cc

Issue 1161006: Make it clear what last_sync_timestamp actually tracks. Update (Closed)
Patch Set: Undo accidental patch-juggling mistake. Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 40fe8d6bda550f554a01913f3f5a285afcf4519f..1cf168e41e510fe321024c3f359d97c69bf32083 100644
--- a/chrome/browser/sync/engine/verify_updates_command.cc
+++ b/chrome/browser/sync/engine/verify_updates_command.cc
@@ -42,7 +42,7 @@ void VerifyUpdatesCommand::ModelChangingExecuteImpl(
LOG(INFO) << update_count << " entries to verify";
for (int i = 0; i < update_count; i++) {
- const SyncEntity entry =
+ const SyncEntity& entry =
*reinterpret_cast<const SyncEntity *>(&(updates.entries(i)));
ModelSafeGroup g = GetGroupForModelType(entry.GetModelType(),
session->routing_info());
« no previous file with comments | « chrome/browser/sync/engine/syncer_end_command.cc ('k') | chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698