| Index: sync/engine/get_commit_ids.cc
|
| diff --git a/sync/engine/get_commit_ids.cc b/sync/engine/get_commit_ids.cc
|
| index c031e9f25f522517afaad4ff12179efbd6c04233..e02cce57019fb54bb2b536c29535ea3ded86c726 100644
|
| --- a/sync/engine/get_commit_ids.cc
|
| +++ b/sync/engine/get_commit_ids.cc
|
| @@ -349,7 +349,7 @@ void Traversal::AddItemThenPredecessors(
|
| return; // Deleted items have no predecessors.
|
|
|
| syncable::Id prev_id = item.GetPredecessorId();
|
| - while (!prev_id.IsRoot()) {
|
| + while (!prev_id.IsNull()) {
|
| syncable::Entry prev(trans_, syncable::GET_BY_ID, prev_id);
|
| CHECK(prev.good()) << "Bad id when walking predecessors.";
|
| if (!prev.GetIsUnsynced()) {
|
|
|