| Index: chrome/browser/sync/test/integration/sync_test.cc
|
| diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
|
| index 82a8859569b385425100412cdd67d408591e5a80..ea15f8659104900f21be86a0c87fddc86ad1a13e 100644
|
| --- a/chrome/browser/sync/test/integration/sync_test.cc
|
| +++ b/chrome/browser/sync/test/integration/sync_test.cc
|
| @@ -1013,9 +1013,7 @@ bool SyncTest::IsEncryptionComplete(int index) {
|
|
|
| bool SyncTest::AwaitEncryptionComplete(int index) {
|
| ProfileSyncService* service = GetClient(index)->service();
|
| - EncryptionChecker checker(service);
|
| - checker.Wait();
|
| - return !checker.TimedOut();
|
| + return EncryptionChecker(service).Wait();
|
| }
|
|
|
| bool SyncTest::AwaitQuiescence() {
|
|
|