Index: chrome/browser/sync/glue/typed_url_model_associator.cc |
diff --git a/chrome/browser/sync/glue/typed_url_model_associator.cc b/chrome/browser/sync/glue/typed_url_model_associator.cc |
index c303188084c9cc74991bc4eba5123ac351cdb159..0d58f3892daa7e31bb4117abfb743d54d93ed43c 100644 |
--- a/chrome/browser/sync/glue/typed_url_model_associator.cc |
+++ b/chrome/browser/sync/glue/typed_url_model_associator.cc |
@@ -826,8 +826,7 @@ void TypedUrlModelAssociator::UpdateURLRowFromTypedUrlSpecifics( |
bool TypedUrlModelAssociator::CryptoReadyIfNecessary() { |
// We only access the cryptographer while holding a transaction. |
syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); |
- const syncer::ModelTypeSet encrypted_types = |
- syncer::GetEncryptedTypes(&trans); |
+ const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); |
return !encrypted_types.Has(syncer::TYPED_URLS) || |
sync_service_->IsCryptographerReady(&trans); |
} |