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 2c00127e2bcbf7845e0a41af7dfa554d8b4641b0..e49ce7d94472dda3f407608ea545b4c0e7dcfec1 100644 |
--- a/chrome/browser/sync/glue/typed_url_model_associator.cc |
+++ b/chrome/browser/sync/glue/typed_url_model_associator.cc |
@@ -413,7 +413,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; |
} |