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

Issue 2787533002: memory-infra: Avoid dereferencing polling_state_ when it could be null (Closed)

Created:
3 years, 8 months ago by hjd
Modified:
3 years, 8 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

memory-infra: Avoid dereferencing polling_state_ when it could be null BUG=706023 Review-Url: https://codereview.chromium.org/2787533002 Cr-Commit-Position: refs/heads/master@{#460736} Committed: https://chromium.googlesource.com/chromium/src/+/3d723ac3847809a99d6e46da60b297a0eb816c88

Patch Set 1 #

Total comments: 3

Patch Set 2 : add dcheck #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M base/trace_event/memory_dump_scheduler.cc View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
hjd
ptal, thanks
3 years, 8 months ago (2017-03-29 16:16:26 UTC) #2
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2787533002/diff/1/base/trace_event/memory_dump_scheduler.cc File base/trace_event/memory_dump_scheduler.cc (right): https://codereview.chromium.org/2787533002/diff/1/base/trace_event/memory_dump_scheduler.cc#newcode174 base/trace_event/memory_dump_scheduler.cc:174: if (!polling_state_) I think you need both checks, i.e. ...
3 years, 8 months ago (2017-03-29 16:21:23 UTC) #3
ssid
https://codereview.chromium.org/2787533002/diff/1/base/trace_event/memory_dump_scheduler.cc File base/trace_event/memory_dump_scheduler.cc (right): https://codereview.chromium.org/2787533002/diff/1/base/trace_event/memory_dump_scheduler.cc#newcode174 base/trace_event/memory_dump_scheduler.cc:174: if (!polling_state_) On 2017/03/29 16:21:22, Primiano Tucci wrote: > ...
3 years, 8 months ago (2017-03-29 16:41:46 UTC) #4
ssid
https://codereview.chromium.org/2787533002/diff/1/base/trace_event/memory_dump_scheduler.cc File base/trace_event/memory_dump_scheduler.cc (right): https://codereview.chromium.org/2787533002/diff/1/base/trace_event/memory_dump_scheduler.cc#newcode174 base/trace_event/memory_dump_scheduler.cc:174: if (!polling_state_) On 2017/03/29 16:41:45, ssid wrote: > On ...
3 years, 8 months ago (2017-03-29 16:46:38 UTC) #5
chromium-reviews
Not sure, I copy pasted from ssid's CL. On Wed, Mar 29, 2017 at 5:21 ...
3 years, 8 months ago (2017-03-29 18:40:48 UTC) #6
hjd
On 2017/03/29 18:40:48, chromium-reviews wrote: > Not sure, I copy pasted from ssid's CL. > ...
3 years, 8 months ago (2017-03-30 10:50:26 UTC) #7
Primiano Tucci (use gerrit)
lgtm
3 years, 8 months ago (2017-03-30 11:49:10 UTC) #8
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/2787533002/20001
3 years, 8 months ago (2017-03-30 11:49:32 UTC) #10
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 12:55:08 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/3d723ac3847809a99d6e46da60b2...

Powered by Google App Engine
This is Rietveld 408576698