| Index: chrome/browser/sync/test/integration/profile_sync_service_harness.cc
|
| diff --git a/chrome/browser/sync/test/integration/profile_sync_service_harness.cc b/chrome/browser/sync/test/integration/profile_sync_service_harness.cc
|
| index b0fef5ff32120591c7779f91248f1fb6eec5b3c3..34f954a4d738d5327c704b283867f91bdac320e4 100644
|
| --- a/chrome/browser/sync/test/integration/profile_sync_service_harness.cc
|
| +++ b/chrome/browser/sync/test/integration/profile_sync_service_harness.cc
|
| @@ -161,8 +161,7 @@ bool ProfileSyncServiceHarness::SetupSync(
|
|
|
| DCHECK(!username_.empty());
|
| if (signin_type_ == SigninType::UI_SIGNIN) {
|
| - Browser* browser =
|
| - FindBrowserWithProfile(profile_, chrome::GetActiveDesktop());
|
| + Browser* browser = chrome::FindBrowserWithProfile(profile_);
|
| DCHECK(browser);
|
| if (!login_ui_test_utils::SignInWithUI(browser, username_, password_)) {
|
| LOG(ERROR) << "Could not sign in to GAIA servers.";
|
|
|