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

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

Created:
6 years, 2 months ago by ARUNKK
Modified:
3 years, 2 months ago
Reviewers:
danakj, reveman
CC:
chromium-reviews, 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 [part-5] BUG =

Patch Set 1 #

Total comments: 7

Patch Set 2 : Review comments. #

Patch Set 3 : format fix. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -260 lines) Patch
M cc/trees/damage_tracker_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_sorter.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 10 chunks +15 lines, -14 lines 0 comments Download
M cc/trees/layer_tree_host_common.h View 4 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_common_perftest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 11 chunks +11 lines, -11 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 1 chunk +1 line, -1 line 1 comment Download
M cc/trees/layer_tree_host_impl.cc View 1 2 22 chunks +27 lines, -26 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 13 chunks +19 lines, -19 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_filters.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 7 chunks +14 lines, -11 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 1 2 6 chunks +13 lines, -12 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_copyrequest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_delegated.cc View 1 9 chunks +13 lines, -11 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_no_message_loop.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_occlusion.cc View 1 2 14 chunks +84 lines, -43 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_picture.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 2 10 chunks +13 lines, -11 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 15 chunks +42 lines, -41 lines 0 comments Download
M cc/trees/occlusion_tracker.cc View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/thread_proxy.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M cc/trees/tree_synchronizer.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/tree_synchronizer_unittest.cc View 1 2 10 chunks +10 lines, -11 lines 1 comment Download

Messages

Total messages: 9 (2 generated)
ARUNKK
PTAL.
6 years, 2 months ago (2014-10-09 09:24:53 UTC) #2
danakj
https://codereview.chromium.org/640203002/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/640203002/diff/1/cc/trees/layer_tree_host_impl.cc#newcode1550 cc/trees/layer_tree_host_impl.cc:1550: SoftwareRenderer::Create(this, &settings_, output_surface_.get(), nullptr); and here? https://codereview.chromium.org/640203002/diff/1/cc/trees/layer_tree_host_impl.h File cc/trees/layer_tree_host_impl.h ...
6 years, 2 months ago (2014-10-09 16:00:53 UTC) #3
ARUNKK
On 2014/10/09 16:00:53, danakj wrote: > https://codereview.chromium.org/640203002/diff/1/cc/trees/layer_tree_host_impl.cc > File cc/trees/layer_tree_host_impl.cc (right): > > https://codereview.chromium.org/640203002/diff/1/cc/trees/layer_tree_host_impl.cc#newcode1550 > ...
6 years, 2 months ago (2014-10-10 06:55:12 UTC) #4
ARUNKK
On 2014/10/10 06:55:12, ARUNKK wrote: > On 2014/10/09 16:00:53, danakj wrote: > > > https://codereview.chromium.org/640203002/diff/1/cc/trees/layer_tree_host_impl.cc ...
6 years, 2 months ago (2014-10-10 12:43:36 UTC) #6
danakj
If there's no bug, remove the BUG= line. Is there really no bug?
6 years, 2 months ago (2014-10-10 16:42:06 UTC) #7
danakj
https://codereview.chromium.org/640203002/diff/120001/cc/trees/layer_tree_host_impl.h File cc/trees/layer_tree_host_impl.h (right): https://codereview.chromium.org/640203002/diff/120001/cc/trees/layer_tree_host_impl.h#newcode593 cc/trees/layer_tree_host_impl.h:593: // |resource_provider_| and |tile_manager_| can be NULL,e.g. when using ...
6 years, 2 months ago (2014-10-10 16:47:12 UTC) #8
Avi (use Gerrit)
6 years, 2 months ago (2014-10-10 16:54:51 UTC) #9
Your change description makes no sense. "[C++11 Allowed Features] Declares a
type-safe null pointer converting from NULL to  nullptr". This change does not
declare any pointers. This description seems to mash together two sentences:
"C++11 declares a type safe null pointer" and "This change converts from NULL to
nullptr". Please rewrite it to be grammatical English.

Also, if we’re doing a bulk conversion from NULL to nullptr, we should have a
master BUG tying this all together.

Powered by Google App Engine
This is Rietveld 408576698