Index: sync/engine/directory_update_handler.cc |
diff --git a/sync/engine/directory_update_handler.cc b/sync/engine/directory_update_handler.cc |
index 04c83da8b76514464615df3803ac042a814c69c0..adcece7baf8294db03d533eb79d2c11bc13594ab 100644 |
--- a/sync/engine/directory_update_handler.cc |
+++ b/sync/engine/directory_update_handler.cc |
@@ -68,7 +68,7 @@ SyncerError DirectoryUpdateHandler::ProcessGetUpdatesResponse( |
// Auto-create permanent folder for the type if the progress marker |
// changes from empty to non-empty. |
- if (!IsTypeWithServerGeneratedRoot(type_) && |
+ if (IsTypeWithClientGeneratedRoot(type_) && |
dir_->HasEmptyDownloadProgress(type_) && |
IsValidProgressMarker(progress_marker)) { |
CreateTypeRoot(&trans); |