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

Issue 2718663005: Replace NULL with nullptr or null in webrtc/base/. (Closed)

Created:
3 years, 9 months ago by Taylor Brandstetter
Modified:
3 years, 9 months ago
Reviewers:
tommi
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace NULL with nullptr or null in webrtc/base/. BUG=webrtc:7147 Review-Url: https://codereview.webrtc.org/2718663005 Cr-Commit-Position: refs/heads/master@{#16878} Committed: https://chromium.googlesource.com/external/webrtc/+/37f5ecfd8f3337475872c9242221471784894f1c

Patch Set 1 #

Patch Set 2 : Manually fixing a few things. #

Total comments: 5

Patch Set 3 : Fixing Windows and formatting issues. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+817 lines, -844 lines) Patch
M webrtc/base/asyncinvoker.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/asyncinvoker-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/asyncpacketsocket.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/asyncsocket.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/asyncsocket.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/asynctcpsocket.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/asynctcpsocket.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/base/asyncudpsocket.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/asyncudpsocket.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/base64.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/base64.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/base64_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/base/bitbuffer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/bitbuffer_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/bytebuffer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/checks.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/checks.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/base/event.cc View 3 chunks +6 lines, -7 lines 0 comments Download
M webrtc/base/event_tracer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/fileutils.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/fileutils.cc View 4 chunks +7 lines, -6 lines 0 comments Download
M webrtc/base/fileutils_unittest.cc View 3 chunks +8 lines, -8 lines 0 comments Download
M webrtc/base/firewallsocketserver.h View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/firewallsocketserver.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/flags.h View 1 1 chunk +6 lines, -6 lines 0 comments Download
M webrtc/base/flags.cc View 7 chunks +15 lines, -17 lines 0 comments Download
M webrtc/base/httpbase.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/httpbase.cc View 11 chunks +22 lines, -19 lines 0 comments Download
M webrtc/base/httpbase_unittest.cc View 8 chunks +15 lines, -12 lines 0 comments Download
M webrtc/base/httpcommon.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M webrtc/base/httpcommon-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/httpserver.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/httpserver.cc View 8 chunks +14 lines, -12 lines 0 comments Download
M webrtc/base/httpserver_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M webrtc/base/ifaddrs-android.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M webrtc/base/logging.h View 4 chunks +10 lines, -7 lines 0 comments Download
M webrtc/base/logging.cc View 8 chunks +14 lines, -10 lines 0 comments Download
M webrtc/base/logging_unittest.cc View 6 chunks +8 lines, -8 lines 0 comments Download
M webrtc/base/macutils.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/messagedigest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/messagequeue.h View 3 chunks +8 lines, -8 lines 0 comments Download
M webrtc/base/messagequeue.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M webrtc/base/messagequeue_unittest.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M webrtc/base/nat_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/natsocketfactory.cc View 9 chunks +15 lines, -12 lines 0 comments Download
M webrtc/base/nethelpers.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/network.cc View 5 chunks +9 lines, -8 lines 0 comments Download
M webrtc/base/openssladapter.cc View 1 15 chunks +43 lines, -52 lines 0 comments Download
M webrtc/base/openssldigest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M webrtc/base/opensslidentity.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/opensslidentity.cc View 13 chunks +28 lines, -28 lines 0 comments Download
M webrtc/base/opensslstreamadapter.cc View 1 13 chunks +78 lines, -94 lines 0 comments Download
M webrtc/base/optionsfile_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/pathutils.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/physicalsocketserver.cc View 6 chunks +8 lines, -8 lines 0 comments Download
M webrtc/base/physicalsocketserver_unittest.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M webrtc/base/platform_file.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/platform_thread.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/proxy_unittest.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M webrtc/base/proxyserver.cc View 6 chunks +7 lines, -7 lines 0 comments Download
M webrtc/base/scoped_autorelease_pool.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/scoped_ref_ptr.h View 1 4 chunks +6 lines, -7 lines 0 comments Download
M webrtc/base/sharedexclusivelock_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M webrtc/base/signalthread.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/signalthread_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/sigslot.h View 1 1 chunk +3 lines, -7 lines 0 comments Download
M webrtc/base/sigslot_unittest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/base/sigslottester_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/base/socket_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/socketadapters.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/socketaddress.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/socketaddress_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/socketstream.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M webrtc/base/ssladapter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/ssladapter_unittest.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M webrtc/base/sslfingerprint.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M webrtc/base/sslidentity.h View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/sslstreamadapter.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/sslstreamadapter_unittest.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M webrtc/base/stream.h View 3 chunks +7 lines, -5 lines 0 comments Download
M webrtc/base/stream.cc View 25 chunks +38 lines, -43 lines 0 comments Download
M webrtc/base/stream_unittest.cc View 12 chunks +62 lines, -62 lines 0 comments Download
M webrtc/base/stringencode.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/stringencode_unittest.cc View 1 2 3 chunks +14 lines, -14 lines 0 comments Download
M webrtc/base/stringutils.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/stringutils_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/task_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M webrtc/base/taskparent.cc View 2 chunks +6 lines, -7 lines 0 comments Download
M webrtc/base/taskrunner.cc View 6 chunks +13 lines, -14 lines 0 comments Download
M webrtc/base/testclient.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/testclient_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/testechoserver.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/testutils.h View 3 chunks +7 lines, -10 lines 0 comments Download
M webrtc/base/thread.h View 5 chunks +7 lines, -7 lines 0 comments Download
M webrtc/base/thread.cc View 14 chunks +17 lines, -17 lines 0 comments Download
M webrtc/base/thread_checker_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/thread_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M webrtc/base/timeutils.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/trace_event.h View 3 chunks +8 lines, -11 lines 0 comments Download
M webrtc/base/transformadapter.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/unittest_main.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/unixfilesystem.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/unixfilesystem.cc View 7 chunks +12 lines, -12 lines 0 comments Download
M webrtc/base/virtualsocket_unittest.cc View 10 chunks +13 lines, -15 lines 0 comments Download
M webrtc/base/virtualsocketserver.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/virtualsocketserver.cc View 14 chunks +17 lines, -17 lines 0 comments Download
M webrtc/base/weak_ptr.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/win32.h View 3 chunks +8 lines, -10 lines 0 comments Download
M webrtc/base/win32.cc View 9 chunks +12 lines, -13 lines 0 comments Download
M webrtc/base/win32filesystem.h View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/win32filesystem.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M webrtc/base/win32socketserver.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/win32socketserver.cc View 1 2 12 chunks +27 lines, -22 lines 0 comments Download
M webrtc/base/win32socketserver_unittest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M webrtc/base/win32window.cc View 1 2 3 chunks +7 lines, -8 lines 0 comments Download
M webrtc/base/win32window_unittest.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M webrtc/base/winping.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
Taylor Brandstetter
I already took a pass through this and fixed anything odd. The main thing was ...
3 years, 9 months ago (2017-02-26 01:44:52 UTC) #2
tommi
lgtm. Nicely done :) great to fix a lot of formatting issues along the way. ...
3 years, 9 months ago (2017-02-26 11:41:10 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.webrtc.org/2718663005/20001
3 years, 9 months ago (2017-02-26 11:41:20 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_rel/builds/23128)
3 years, 9 months ago (2017-02-26 11:46:49 UTC) #7
tommi
of course windows code had to cause problems ;) https://codereview.webrtc.org/2718663005/diff/20001/webrtc/base/win32socketserver.cc File webrtc/base/win32socketserver.cc (right): https://codereview.webrtc.org/2718663005/diff/20001/webrtc/base/win32socketserver.cc#newcode246 webrtc/base/win32socketserver.cc:246: ...
3 years, 9 months ago (2017-02-26 17:20:10 UTC) #10
tommi
https://codereview.webrtc.org/2718663005/diff/20001/webrtc/base/win32window.cc File webrtc/base/win32window.cc (right): https://codereview.webrtc.org/2718663005/diff/20001/webrtc/base/win32window.cc#newcode110 webrtc/base/win32window.cc:110: ::SetWindowLongPtr(hwnd, GWLP_USERDATA, nullptr); the name SetWindowLongPtr() is misleading unfortunately. ...
3 years, 9 months ago (2017-02-26 17:23:45 UTC) #11
Taylor Brandstetter
https://codereview.webrtc.org/2718663005/diff/20001/webrtc/base/stringencode_unittest.cc File webrtc/base/stringencode_unittest.cc (right): https://codereview.webrtc.org/2718663005/diff/20001/webrtc/base/stringencode_unittest.cc#newcode24 webrtc/base/stringencode_unittest.cc:24: {"a ", 5, 1, 'a'}, On 2017/02/26 11:41:10, tommi ...
3 years, 9 months ago (2017-02-27 21:40:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2718663005/40001
3 years, 9 months ago (2017-02-27 21:40:28 UTC) #17
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 22:06:49 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/webrtc/+/37f5ecfd8f3337475872c9242...

Powered by Google App Engine
This is Rietveld 408576698