Index: chrome/browser/sync/glue/typed_url_model_associator.cc |
diff --git a/chrome/browser/sync/glue/typed_url_model_associator.cc b/chrome/browser/sync/glue/typed_url_model_associator.cc |
index 92fec6dae44e150093023a028a3e7707566c3cd4..9ec26cf2f9a19b216a145f92982f61bc3f8824db 100644 |
--- a/chrome/browser/sync/glue/typed_url_model_associator.cc |
+++ b/chrome/browser/sync/glue/typed_url_model_associator.cc |
@@ -429,7 +429,7 @@ bool TypedUrlModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) { |
// The sync model has user created nodes if the typed_url folder has any |
// children. |
- *has_nodes = sync_api::kInvalidId != typed_url_node.GetFirstChildId(); |
+ *has_nodes = typed_url_node.HasChildren(); |
return true; |
} |