| Index: chrome/browser/extensions/extension_webstore_private_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_webstore_private_browsertest.cc (revision 88135)
|
| +++ chrome/browser/extensions/extension_webstore_private_browsertest.cc (working copy)
|
| @@ -86,10 +86,7 @@
|
| delegate->OnLoginSuccess();
|
|
|
| // Fake a token available notification.
|
| - Profile* profile = tab_contents->profile();
|
| - if (profile->IsOffTheRecord()) {
|
| - profile = g_browser_process->profile_manager()->GetDefaultProfile();
|
| - }
|
| + Profile* profile = tab_contents->profile()->GetOriginalProfile();
|
| TokenService* token_service = profile->GetTokenService();
|
| token_service->IssueAuthTokenForTest(GaiaConstants::kGaiaService,
|
| "new_token");
|
|
|