| Index: sync/engine/directory_update_handler_unittest.cc
|
| diff --git a/sync/engine/directory_update_handler_unittest.cc b/sync/engine/directory_update_handler_unittest.cc
|
| index 9579e93bf7a9b5acbc0c7fb62c7c9eefa9ec59bc..2a25f160d7c4aa95c32ff46b273fc9b38cb7af77 100644
|
| --- a/sync/engine/directory_update_handler_unittest.cc
|
| +++ b/sync/engine/directory_update_handler_unittest.cc
|
| @@ -86,9 +86,7 @@ class DirectoryUpdateHandlerProcessUpdateTest : public ::testing::Test {
|
| }
|
|
|
| bool TypeRootExists(ModelType model_type) {
|
| - syncable::ReadTransaction trans(FROM_HERE, dir());
|
| - syncable::Entry e(&trans, syncable::GET_TYPE_ROOT, model_type);
|
| - return e.good() && !e.GetIsDel();
|
| + return dir()->InitialSyncEndedForType(model_type);
|
| }
|
|
|
| protected:
|
|
|