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

Issue 643583003: [C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr in src/… (Closed)

Created:
6 years, 2 months ago by ARUNKK
Modified:
6 years, 2 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr in src/cc [part-2] BUG = Committed: https://crrev.com/4015690f15e47949bf0dc40c7adea721dda94ef9 Cr-Commit-Position: refs/heads/master@{#299106}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Presubmit fix #

Total comments: 1

Patch Set 3 : formating. #

Patch Set 4 : foramted. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -260 lines) Patch
M cc/blink/web_external_texture_layer_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/blink/web_layer_impl.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M cc/debug/invalidation_benchmark.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/debug/micro_benchmark.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/debug/picture_record_benchmark.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/debug/rasterize_and_record_benchmark.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M cc/debug/unittest_only_benchmark.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/content_layer.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/delegated_frame_provider_unittest.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M cc/layers/delegated_frame_resource_collection.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M cc/layers/delegated_frame_resource_collection_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/delegated_renderer_layer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/delegated_renderer_layer_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/delegated_renderer_layer_impl_unittest.cc View 5 chunks +10 lines, -10 lines 0 comments Download
M cc/layers/draw_properties.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/heads_up_display_layer_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/heads_up_display_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/layer.h View 1 chunk +1 line, -1 line 1 comment Download
M cc/layers/layer.cc View 11 chunks +22 lines, -22 lines 0 comments Download
M cc/layers/layer_client.h View 1 2 1 chunk +2 lines, -1 line 1 comment Download
M cc/layers/layer_impl.cc View 7 chunks +12 lines, -12 lines 0 comments Download
M cc/layers/layer_impl_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/layer_iterator.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer_perftest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer_unittest.cc View 15 chunks +33 lines, -33 lines 0 comments Download
M cc/layers/picture_image_layer_impl_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/picture_layer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 8 chunks +11 lines, -11 lines 0 comments Download
M cc/layers/picture_layer_impl_perftest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 15 chunks +27 lines, -27 lines 0 comments Download
M cc/layers/render_surface.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/render_surface_impl.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/scrollbar_layer_impl_base.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/scrollbar_layer_impl_base.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M cc/layers/texture_layer.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 2 18 chunks +25 lines, -18 lines 0 comments Download
M cc/layers/tiled_layer.cc View 1 2 8 chunks +8 lines, -11 lines 0 comments Download
M cc/layers/tiled_layer_impl_unittest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M cc/layers/tiled_layer_unittest.cc View 20 chunks +21 lines, -21 lines 0 comments Download
M cc/layers/video_frame_provider_client_impl.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M cc/layers/video_layer_impl.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
ARUNKK
reveman@chromium.org: Please review changes in danakj@chromium.org: Please review changes in PTAL
6 years, 2 months ago (2014-10-09 09:10:22 UTC) #2
reveman
https://codereview.chromium.org/643583003/diff/1/cc/layers/layer_client.h File cc/layers/layer_client.h (right): https://codereview.chromium.org/643583003/diff/1/cc/layers/layer_client.h#newcode24 cc/layers/layer_client.h:24: // If not, returns nullptr. If the returned pointer ...
6 years, 2 months ago (2014-10-09 15:08:01 UTC) #3
ARUNKK
On 2014/10/09 15:08:01, reveman wrote: > https://codereview.chromium.org/643583003/diff/1/cc/layers/layer_client.h > File cc/layers/layer_client.h (right): > > https://codereview.chromium.org/643583003/diff/1/cc/layers/layer_client.h#newcode24 > ...
6 years, 2 months ago (2014-10-10 07:59:43 UTC) #4
reveman
https://codereview.chromium.org/643583003/diff/20001/cc/layers/texture_layer_unittest.cc File cc/layers/texture_layer_unittest.cc (right): https://codereview.chromium.org/643583003/diff/20001/cc/layers/texture_layer_unittest.cc#newcode200 cc/layers/texture_layer_unittest.cc:200: TextureLayer::CreateForMailbox(nullptr); this formatting looks weird. is this what "cl ...
6 years, 2 months ago (2014-10-10 11:44:19 UTC) #5
ARUNKK
On 2014/10/10 11:44:19, reveman wrote: > https://codereview.chromium.org/643583003/diff/20001/cc/layers/texture_layer_unittest.cc > File cc/layers/texture_layer_unittest.cc (right): > > https://codereview.chromium.org/643583003/diff/20001/cc/layers/texture_layer_unittest.cc#newcode200 > ...
6 years, 2 months ago (2014-10-10 12:26:54 UTC) #6
reveman
lgtm
6 years, 2 months ago (2014-10-10 12:33:35 UTC) #7
ARUNKK
On 2014/10/10 12:33:35, reveman wrote: > lgtm Thanks for Review and LGTM.
6 years, 2 months ago (2014-10-10 12:34:37 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/643583003/280001
6 years, 2 months ago (2014-10-10 12:35:57 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:280001)
6 years, 2 months ago (2014-10-10 13:50:18 UTC) #11
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/4015690f15e47949bf0dc40c7adea721dda94ef9 Cr-Commit-Position: refs/heads/master@{#299106}
6 years, 2 months ago (2014-10-10 13:51:08 UTC) #12
Avi (use Gerrit)
Your change description makes no sense. "[C++11 Allowed Features] Declares a type-safe null pointer converting ...
6 years, 2 months ago (2014-10-10 16:55:02 UTC) #13
Avi (use Gerrit)
Your change description makes no sense. "[C++11 Allowed Features] Declares a type-safe null pointer converting ...
6 years, 2 months ago (2014-10-10 16:55:11 UTC) #14
viettrungluu
6 years, 2 months ago (2014-10-10 17:14:00 UTC) #16
Message was sent while issue was closed.
https://codereview.chromium.org/643583003/diff/280001/cc/layers/layer.h
File cc/layers/layer.h (right):

https://codereview.chromium.org/643583003/diff/280001/cc/layers/layer.h#newco...
cc/layers/layer.h:103: // first), then the callback is called with a
nullptr/empty result.
Dubious comment change. "null" would be better.

https://codereview.chromium.org/643583003/diff/280001/cc/layers/layer_client.h
File cc/layers/layer_client.h (right):

https://codereview.chromium.org/643583003/diff/280001/cc/layers/layer_client....
cc/layers/layer_client.h:25: // If the returned pointer is non-nullptr, the
caller takes
"non-null"

Powered by Google App Engine
This is Rietveld 408576698