| Index: chrome/browser/sync/glue/generic_change_processor.cc
|
| diff --git a/chrome/browser/sync/glue/generic_change_processor.cc b/chrome/browser/sync/glue/generic_change_processor.cc
|
| index 56e17e68ec8a4081dd6264482b6fe0ee0b1b2aa3..95274ce2abec612590ff81b17c7c1a488912e39c 100644
|
| --- a/chrome/browser/sync/glue/generic_change_processor.cc
|
| +++ b/chrome/browser/sync/glue/generic_change_processor.cc
|
| @@ -241,7 +241,7 @@ bool GenericChangeProcessor::SyncModelHasUserCreatedNodes(
|
|
|
| // The sync model has user created nodes if the type's root node has any
|
| // children.
|
| - *has_nodes = sync_api::kInvalidId != type_root_node.GetFirstChildId();
|
| + *has_nodes = type_root_node.HasChildren();
|
| return true;
|
| }
|
|
|
|
|