Index: chrome/browser/sync/profile_sync_service.cc |
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc |
index e6a2cef071c94b85cac1d02346af4d41e81adbc1..a2e62cd825a802a366f4eab2079046bdfd8fd359 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -1326,7 +1326,8 @@ void ProfileSyncService::EnableEncryptEverything() { |
// must check that instead of |backend_initialized_|. |
// TODO(akalin): Fix the above. :/ |
DCHECK(sync_initialized()); |
- encryption_pending_ = true; |
+ if (!encrypt_everything_) |
+ encryption_pending_ = true; |
} |
bool ProfileSyncService::encryption_pending() const { |