Commit 8bcb96f4 authored by xiyuan@chromium.org's avatar xiyuan@chromium.org

chromeos: Open app using profile returned from GetProfileForNewWindows.

BUG=138860
TEST=Verify fix for 138860 and in non-guest mode apps run under the same profile as before.

R=sky@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10829194

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150149 0039d316-1c4b-4281-b951-d872f2087c98
parent 4b283e67
......@@ -304,7 +304,9 @@ void ChromeLauncherController::OpenAppID(
} else {
const Extension* extension =
profile_->GetExtensionService()->GetInstalledExtension(app_id);
extension_utils::OpenExtension(profile_, extension, event_flags);
extension_utils::OpenExtension(GetProfileForNewWindows(),
extension,
event_flags);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment