Use last active profile instead of default profile in profile manager
When profiles are deleted, new profiles are created in the directory Profile X. These directories are stored in last active profile. In metro mode, on initialization rather than last active profile, default profile corresponding to the directory Default is used resulting in problems on profile deletion. This CL makes ProfileManager::GetActiveUserProfile return last active profile instead of default profile for windows build to solve the problem. BUG=450192 Review URL: https://codereview.chromium.org/1051843002 Cr-Commit-Position: refs/heads/master@{#325440}
Showing
Please register or sign in to comment