Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Unified Diff: ios/chrome/browser/sync/sync_setup_service.cc

Issue 2790483002: Fixes History page keeps on loading when signed in with Passphrase (Closed)
Patch Set: a Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/chrome/browser/ui/history/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/sync/sync_setup_service.cc
diff --git a/ios/chrome/browser/sync/sync_setup_service.cc b/ios/chrome/browser/sync/sync_setup_service.cc
index 601e1f580dfc3b78d91d7f5bfb536f9f692d4c4d..1cb0c7b37383800bd6a670bad9ad83a740c8df66 100644
--- a/ios/chrome/browser/sync/sync_setup_service.cc
+++ b/ios/chrome/browser/sync/sync_setup_service.cc
@@ -50,7 +50,7 @@ syncer::ModelTypeSet SyncSetupService::GetDataTypes() const {
}
bool SyncSetupService::IsDataTypeEnabled(syncer::ModelType datatype) const {
- return GetDataTypes().Has(datatype);
+ return sync_service_->GetActiveDataTypes().Has(datatype);
}
void SyncSetupService::SetDataTypeEnabled(syncer::ModelType datatype,
« no previous file with comments | « no previous file | ios/chrome/browser/ui/history/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698