Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Issue 2899313005: [Mac] Fix incorrect profile type passed to new browser window. (Closed)

Created:
3 years, 7 months ago by shrike
Modified:
3 years, 7 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M chrome/browser/app_controller_mac.mm View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 8 (3 generated)
shrike
Hello avi@, I have you as an owner reviewer for this cl - would you ...
3 years, 7 months ago (2017-05-25 20:20:03 UTC) #1
Avi (use Gerrit)
LGTM Going by referencing https://codereview.chromium.org/230923004 which introduced -safeLastProfileForNewWindows.
3 years, 7 months ago (2017-05-25 20:26:39 UTC) #2
shrike
On 2017/05/25 20:26:39, Avi (ping after 24h) wrote: > LGTM > > Going by referencing ...
3 years, 7 months ago (2017-05-25 20:29:21 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2899313005/1
3 years, 7 months ago (2017-05-25 20:30:21 UTC) #5
commit-bot: I haz the power
3 years, 7 months ago (2017-05-25 20:54:54 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/262de4db50be5c113ac5475f229d...

Powered by Google App Engine
This is Rietveld 408576698