Index: sync/engine/directory_commit_contribution_unittest.cc |
diff --git a/sync/engine/directory_commit_contribution_unittest.cc b/sync/engine/directory_commit_contribution_unittest.cc |
index 475985c2569ba0055dc5771dca0965ec7d484688..b342b54c8088b0a7ac02d6abba44690d61d4c424 100644 |
--- a/sync/engine/directory_commit_contribution_unittest.cc |
+++ b/sync/engine/directory_commit_contribution_unittest.cc |
@@ -36,10 +36,7 @@ class DirectoryCommitContributionTest : public ::testing::Test { |
int64 CreateUnsyncedItem(syncable::WriteTransaction* trans, |
ModelType type, |
const std::string& tag) { |
- syncable::Entry parent_entry( |
- trans, |
- syncable::GET_BY_SERVER_TAG, |
- ModelTypeToRootTag(type)); |
+ syncable::Entry parent_entry(trans, syncable::GET_TYPE_ROOT, type); |
syncable::MutableEntry entry( |
trans, |
syncable::CREATE, |
@@ -53,10 +50,7 @@ class DirectoryCommitContributionTest : public ::testing::Test { |
int64 CreateSyncedItem(syncable::WriteTransaction* trans, |
ModelType type, |
const std::string& tag) { |
- syncable::Entry parent_entry( |
- trans, |
- syncable::GET_BY_SERVER_TAG, |
- ModelTypeToRootTag(type)); |
+ syncable::Entry parent_entry(trans, syncable::GET_TYPE_ROOT, type); |
syncable::MutableEntry entry( |
trans, |
syncable::CREATE, |