Index: chrome/browser/sync/glue/autofill_model_associator.cc |
diff --git a/chrome/browser/sync/glue/autofill_model_associator.cc b/chrome/browser/sync/glue/autofill_model_associator.cc |
index a9ec19f775c797ee6a8bb9f06d2c6dab4883e13f..902f00a69fae223fab77a6b03446030bf1054216 100644 |
--- a/chrome/browser/sync/glue/autofill_model_associator.cc |
+++ b/chrome/browser/sync/glue/autofill_model_associator.cc |
@@ -387,7 +387,7 @@ bool AutofillModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) { |
// The sync model has user created nodes if the autofill folder has any |
// children. |
- *has_nodes = sync_api::kInvalidId != autofill_node.GetFirstChildId(); |
+ *has_nodes = autofill_node.HasChildren(); |
return true; |
} |