|
|
Created:
5 years, 9 months ago by mlamouri (slow - plz ping) Modified:
5 years, 9 months ago CC:
chromium-reviews, markusheintz_ Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionIt is possible to sometimes have a null PermissionBubbleManager.
BUG=457091
Committed: https://crrev.com/2bb0feb026e70d97ee92cb72fe5c93e43eaa5c32
Cr-Commit-Position: refs/heads/master@{#321812}
Patch Set 1 #
Total comments: 3
Patch Set 2 : with comment #Patch Set 3 : remove dcheck #Messages
Total messages: 24 (8 generated)
mlamouri@chromium.org changed reviewers: + bauerb@chromium.org, felt@chromium.org
mlamouri@chromium.org changed required reviewers: + bauerb@chromium.org
https://codereview.chromium.org/1023213002/diff/1/chrome/browser/content_sett... File chrome/browser/content_settings/permission_context_base.cc (right): https://codereview.chromium.org/1023213002/diff/1/chrome/browser/content_sett... chrome/browser/content_settings/permission_context_base.cc:129: if (!bubble_manager) i think style is to have either a DCHECK or an if, but not both
PTAL https://codereview.chromium.org/1023213002/diff/1/chrome/browser/content_sett... File chrome/browser/content_settings/permission_context_base.cc (right): https://codereview.chromium.org/1023213002/diff/1/chrome/browser/content_sett... chrome/browser/content_settings/permission_context_base.cc:129: if (!bubble_manager) On 2015/03/20 at 14:44:17, felt wrote: > i think style is to have either a DCHECK or an if, but not both The if is really there just to prevent the crash. We shouldn't be running into this. The intent is to fix the sympton, if possible. The cause is clearly somewhere else. Will add a comment.
https://codereview.chromium.org/1023213002/diff/1/chrome/browser/content_sett... File chrome/browser/content_settings/permission_context_base.cc (right): https://codereview.chromium.org/1023213002/diff/1/chrome/browser/content_sett... chrome/browser/content_settings/permission_context_base.cc:129: if (!bubble_manager) On 2015/03/20 14:51:49, Mounir Lamouri wrote: > On 2015/03/20 at 14:44:17, felt wrote: > > i think style is to have either a DCHECK or an if, but not both > > The if is really there just to prevent the crash. We shouldn't be running into > this. The intent is to fix the sympton, if possible. The cause is clearly > somewhere else. Will add a comment. http://www.chromium.org/developers/coding-style#TOC-CHECK-DCHECK-and-NOTREACHED- I still think you ought to remove the DCHECK, at least temporarily. Once the underlying issue is fixed the DCHECK can be added back again.
I removed it. Though, for the record, I think that the DCHECK would be very useful if we hit it. Here, we are making us entirely blind of the issue.
The CQ bit was checked by felt@chromium.org
lgtm
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1023213002/40001
The CQ bit was unchecked by commit-bot@chromium.org
All required reviewers (with asterisk prefixes) have not yet approved this CL. No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an LGTM may have been provided, it was from a non-committer, _not_ a full super star committer. See http://www.chromium.org/getting-involved/become-a-committer Note that this has nothing to do with OWNERS files.
On 2015/03/20 15:14:33, I haz the power (commit-bot) wrote: > All required reviewers (with asterisk prefixes) have not yet approved this CL. > > No LGTM from a valid reviewer yet. Only full committers are accepted. > Even if an LGTM may have been provided, it was from a non-committer, > _not_ a full super star committer. > See http://www.chromium.org/getting-involved/become-a-committer > Note that this has nothing to do with OWNERS files. oh damn this is in content settings. can you add markus since bernhard is ooo?
mlamouri@chromium.org changed reviewers: + markusheintz@chromium.org - bauerb@chromium.org
mlamouri@chromium.org changed required reviewers: - bauerb@chromium.org
mlamouri@chromium.org changed reviewers: + bauerb@chromium.org
LGTM to unblock you, but I agree that the right thing to do would be to fix the underlying issue. If you want to just stabilize M42, you could land this CL, merge it to M42 and then revert it on trunk afterwards, so you'll continue to get crash reports and can investigate.
The CQ bit was checked by mlamouri@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1023213002/40001
On 2015/03/23 17:39:32, Bernhard Bauer wrote: > LGTM to unblock you, but I agree that the right thing to do would be to fix the > underlying issue. If you want to just stabilize M42, you could land this CL, > merge it to M42 and then revert it on trunk afterwards, so you'll continue to > get crash reports and can investigate. +1
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/2bb0feb026e70d97ee92cb72fe5c93e43eaa5c32 Cr-Commit-Position: refs/heads/master@{#321812} |