Index: chrome/browser/sync/glue/theme_model_associator.cc |
diff --git a/chrome/browser/sync/glue/theme_model_associator.cc b/chrome/browser/sync/glue/theme_model_associator.cc |
index b854cbf4917abc39222aebeac47300242ba6c9b7..e4100411ea22c34f56c654a746522765cff3c1b2 100644 |
--- a/chrome/browser/sync/glue/theme_model_associator.cc |
+++ b/chrome/browser/sync/glue/theme_model_associator.cc |
@@ -96,7 +96,7 @@ bool ThemeModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) { |
} |
// The sync model has user created nodes iff the themes folder has |
// any children. |
- *has_nodes = root.GetFirstChildId() != sync_api::kInvalidId; |
+ *has_nodes = root.HasChildren(); |
return true; |
} |