Index: chrome/browser/sync/sessions/sync_session.cc |
diff --git a/chrome/browser/sync/sessions/sync_session.cc b/chrome/browser/sync/sessions/sync_session.cc |
index 94bcd85ae95c0edc4a1b863220a4346bced484ce..a7ac5ae2ca5ee8d6ea0b39cf30e84ad37f972396 100644 |
--- a/chrome/browser/sync/sessions/sync_session.cc |
+++ b/chrome/browser/sync/sessions/sync_session.cc |
@@ -136,14 +136,14 @@ SyncSessionSnapshot SyncSession::TakeSnapshot() const { |
LOG(ERROR) << "Scoped dir lookup failed!"; |
bool is_share_useable = true; |
- syncable::ModelTypeBitSet initial_sync_ended; |
+ syncable::ModelEnumSet initial_sync_ended; |
std::string download_progress_markers[syncable::MODEL_TYPE_COUNT]; |
for (int i = syncable::FIRST_REAL_MODEL_TYPE; |
i < syncable::MODEL_TYPE_COUNT; ++i) { |
syncable::ModelType type(syncable::ModelTypeFromInt(i)); |
if (routing_info_.count(type) != 0) { |
if (dir->initial_sync_ended_for_type(type)) |
- initial_sync_ended.set(type); |
+ initial_sync_ended.Put(type); |
else |
is_share_useable = false; |
} |