| Index: chrome/browser/ui/sync/one_click_signin_helper.cc
|
| diff --git a/chrome/browser/ui/sync/one_click_signin_helper.cc b/chrome/browser/ui/sync/one_click_signin_helper.cc
|
| index 908536595effebde12549de04b900c7422b06d8e..b614c933e5ad62218d83843cc6cea13e84cfb19a 100644
|
| --- a/chrome/browser/ui/sync/one_click_signin_helper.cc
|
| +++ b/chrome/browser/ui/sync/one_click_signin_helper.cc
|
| @@ -1001,7 +1001,8 @@ void OneClickSigninHelper::DidNavigateMainFrame(
|
| Profile::FromBrowserContext(web_contents()->GetBrowserContext());
|
| SigninManager* manager = profile ?
|
| SigninManagerFactory::GetForProfile(profile) : NULL;
|
| - if (manager)
|
| + int process_id = web_contents()->GetRenderProcessHost()->GetID();
|
| + if (manager && manager->IsSigninProcess(process_id))
|
| manager->ClearSigninProcess();
|
| }
|
| }
|
|
|