Description[Mac] Fix incorrect profile type passed to new browser window.
Crash reports for https://crbug.com/723414 show a crash in a CHECK()
of profile type being used to create a new browser window via
Browser::Browser(), specicially:
CHECK(!profile_->IsGuestSession() || profile_->IsOffTheRecord())
<< "Only off the record browser may be opened in guest mode";
Thi cl changes the caller to pass a profile safe for Browser::Browser()
to use.
R=avi@chromium.org
BUG=723414
Review-Url: https://codereview.chromium.org/2899313005
Cr-Commit-Position: refs/heads/master@{#474799}
Committed: https://chromium.googlesource.com/chromium/src/+/262de4db50be5c113ac5475f229dfa88834314ce
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|