Index: sync/engine/get_commit_ids.cc |
diff --git a/sync/engine/get_commit_ids.cc b/sync/engine/get_commit_ids.cc |
index f87524d66c0b44f0f975054f189928b1426bf414..c9b5a5b27045dde832666f72cb63bec81a6bc837 100644 |
--- a/sync/engine/get_commit_ids.cc |
+++ b/sync/engine/get_commit_ids.cc |
@@ -453,7 +453,8 @@ bool Traversal::HaveItem(int64 handle) const { |
} |
bool Traversal::SupportsHierarchy(const syncable::Entry& item) const { |
- return !item.GetParentId().IsNull(); |
+ // Types with explicit server supported hierarchy only. |
+ return IsTypeWithServerGeneratedRoot(item.GetModelType()); |
} |
void Traversal::AppendManyToTraversal( |