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

Issue 1101103002: Clean up ObserverList Pointers to use nullptr instad of NULL or 0 (Closed)

Created:
5 years, 8 months ago by robliao
Modified:
5 years, 8 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, erikwright+watch_chromium.org, sky
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up ObserverList Pointers to use nullptr instad of NULL or 0 We expect the type to be ObserverType*, so let's use nullptr. Committed: https://crrev.com/6f5e423c3c04e8952752368bb4a9abdea247a12a Cr-Commit-Position: refs/heads/master@{#326679}

Patch Set 1 #

Patch Set 2 : Update Observer List to use nullptr #

Total comments: 2

Patch Set 3 : Quick Update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M base/observer_list.h View 1 2 5 chunks +7 lines, -7 lines 0 comments Download
M base/observer_list_threadsafe.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M base/observer_list_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (3 generated)
robliao
5 years, 8 months ago (2015-04-23 18:13:36 UTC) #2
Lei Zhang
Might as do nullptr.
5 years, 8 months ago (2015-04-23 20:04:34 UTC) #3
robliao
On 2015/04/23 20:04:34, Lei Zhang wrote: > Might as do nullptr. I would like to, ...
5 years, 8 months ago (2015-04-23 20:12:24 UTC) #4
Lei Zhang
On 2015/04/23 20:12:24, robliao wrote: > Are the floodgates officially opened for new code? It's ...
5 years, 8 months ago (2015-04-23 20:18:30 UTC) #5
robliao
On 2015/04/23 20:18:30, Lei Zhang wrote: > On 2015/04/23 20:12:24, robliao wrote: > > Are ...
5 years, 8 months ago (2015-04-23 21:04:24 UTC) #6
Lei Zhang
lgtm Remember to update the CL description as well. https://codereview.chromium.org/1101103002/diff/20001/base/observer_list.h File base/observer_list.h (right): https://codereview.chromium.org/1101103002/diff/20001/base/observer_list.h#newcode206 base/observer_list.h:206: ...
5 years, 8 months ago (2015-04-23 21:07:33 UTC) #7
robliao
https://codereview.chromium.org/1101103002/diff/20001/base/observer_list.h File base/observer_list.h (right): https://codereview.chromium.org/1101103002/diff/20001/base/observer_list.h#newcode206 base/observer_list.h:206: static_cast<ObserverType*>(nullptr)), observers_.end()); On 2015/04/23 21:07:33, Lei Zhang wrote: > ...
5 years, 8 months ago (2015-04-23 21:27:28 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1101103002/40001
5 years, 8 months ago (2015-04-23 21:27:58 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-23 22:46:55 UTC) #12
commit-bot: I haz the power
5 years, 8 months ago (2015-04-23 22:50:06 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6f5e423c3c04e8952752368bb4a9abdea247a12a
Cr-Commit-Position: refs/heads/master@{#326679}

Powered by Google App Engine
This is Rietveld 408576698