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

Issue 2208733004: Fix crash in NQE: Replace DCHECK by an if-conditional (Closed)

Created:
4 years, 4 months ago by tbansal1
Modified:
4 years, 4 months ago
Reviewers:
bengr, Nico
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash in NQE: Replace DCHECK by an if-conditional https://build.chromium.org/p/chromium.fyi/builders/ClangToTWin%28dbg%29%20tester/builds/2914/steps/browser_tests%20on%20Windows-7-SP1/logs/CrSettingsMainPageTest.All shows a DCHECK failing in NQE because load timing info is null. This CL replaces the DCHECK by an if-conditional. TBR=bengr@chromium.org BUG=634240 Committed: https://crrev.com/8322dc34d8b35270fd642fa01d96c127ebe4ac3b Cr-Commit-Position: refs/heads/master@{#409735}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M net/nqe/network_quality_estimator.cc View 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
tbansal1
4 years, 4 months ago (2016-08-04 07:53:13 UTC) #9
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/2208733004/1
4 years, 4 months ago (2016-08-04 07:53:35 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-04 07:57:03 UTC) #13
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/8322dc34d8b35270fd642fa01d96c127ebe4ac3b Cr-Commit-Position: refs/heads/master@{#409735}
4 years, 4 months ago (2016-08-04 08:00:01 UTC) #15
Nico
Why was this landed without review?
4 years, 4 months ago (2016-08-04 15:04:59 UTC) #17
tbansal1
On 2016/08/04 15:04:59, Nico wrote: > Why was this landed without review? It was a ...
4 years, 4 months ago (2016-08-04 17:04:17 UTC) #18
Nico
On 2016/08/04 17:04:17, tbansal1 wrote: > On 2016/08/04 15:04:59, Nico wrote: > > Why was ...
4 years, 4 months ago (2016-08-04 17:13:20 UTC) #19
tbansal1
4 years, 4 months ago (2016-08-04 17:42:33 UTC) #22
Message was sent while issue was closed.
On 2016/08/04 17:13:20, Nico wrote:
> On 2016/08/04 17:04:17, tbansal1 wrote:
> > On 2016/08/04 15:04:59, Nico wrote:
> > > Why was this landed without review?
> > 
> > It was a very safe change. I was using a DHCECK, where I should have been
> using
> > just
> > an if-conditional.
> > 
> > Besides, DCHECKs slows down other developers -- They have to comment
> > out all failing DCHECKs one-by-one when they are testing  their code. Please
> let
> > me know if 
> > you think it was not a right decision to land this with TBR.
> 
> Two things:
> 
> 1. "TBR" means "to be reviewed" not "without review". If you land a CL as TBR,
> you still should send out a review email, and the review should still happen,
> just after submitting. (And comments should be addressed in a follow-up CL.)
> This didn't happen here.
> 
> 2. The bottom of
>
https://www.chromium.org/developers/owners-files#TOC-When-to-use-To-Be-Review...
> explains when to use TBR. From what I can tell, this CL doesn't qualify for
this
> (I guess fixing a very urgent crasher can qualify too, but this one doesn't
> sound like it was super frequent.)
> 
> It's not the end of the world, provided this does get a review after the fact.


Thanks, that makes sense. I did publish this CL (see #9 above) with the OWNERS
included in the TBR. However, I did not explicitly say "PTAL"
in the message. That was my bad. I completely agree that any comments
received on this CL should be addressed immediately in the following CL.

Powered by Google App Engine
This is Rietveld 408576698