summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-26 17:32:25 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-26 17:32:25 +0000
commit7cac526e260a4b0d5a426e9326c5b06ca76951bc (patch)
tree6eba762c64b05ee2aa405f086d873d56a726f68a /chrome/browser/extensions
parentd70de1133e21b425f29e7c2bad7a2b805230580f (diff)
downloadchromium_src-7cac526e260a4b0d5a426e9326c5b06ca76951bc.zip
chromium_src-7cac526e260a4b0d5a426e9326c5b06ca76951bc.tar.gz
chromium_src-7cac526e260a4b0d5a426e9326c5b06ca76951bc.tar.bz2
Revert 158590 - Extensions: Fix a crash installing an app w/ oauth2 scopes in incognito.
Get the parent profile when fetching oauth2 issue advice. BUG=152192 TEST=none R=aa Review URL: https://codereview.chromium.org/10981022 TBR=jhawkins@chromium.org Review URL: https://codereview.chromium.org/10983042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r--chrome/browser/extensions/extension_install_prompt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_install_prompt.cc b/chrome/browser/extensions/extension_install_prompt.cc
index 48db286..2113b17 100644
--- a/chrome/browser/extensions/extension_install_prompt.cc
+++ b/chrome/browser/extensions/extension_install_prompt.cc
@@ -494,7 +494,7 @@ void ExtensionInstallPrompt::FetchOAuthIssueAdviceIfNeeded() {
return;
}
- Profile* profile = install_ui_->profile()->GetOriginalProfile();
+ Profile* profile = install_ui_->profile();
TokenService* token_service = TokenServiceFactory::GetForProfile(profile);
token_flow_.reset(new OAuth2MintTokenFlow(