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

Issue 502203003: Remove implicit conversions from scoped_refptr to T* in cc/ (Closed)

Created:
6 years, 4 months ago by dcheng
Modified:
6 years, 3 months ago
Reviewers:
danakj, enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove implicit conversions from scoped_refptr to T* in cc/ This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Committed: https://crrev.com/80bc5e3ce73e2a306bec3aca8aa4d54b66b95d04 Cr-Commit-Position: refs/heads/master@{#291833}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Change to use .get() instead of rewriting local variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -161 lines) Patch
M cc/base/delayed_unique_notifier_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M cc/debug/frame_viewer_instrumentation.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/delegated_frame_provider_unittest.cc View 5 chunks +16 lines, -16 lines 0 comments Download
M cc/layers/delegated_frame_resource_collection_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/delegated_renderer_layer_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/layer_lists.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/layer_unittest.cc View 4 chunks +19 lines, -19 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M cc/layers/solid_color_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/output/delegating_renderer.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/output/output_surface.cc View 8 chunks +11 lines, -11 lines 0 comments Download
M cc/output/renderer_pixeltest.cc View 9 chunks +9 lines, -9 lines 0 comments Download
M cc/output/renderer_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/picture_pile_base.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/picture_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M cc/resources/prioritized_tile_set_unittest.cc View 25 chunks +52 lines, -52 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/resource_provider.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M cc/resources/tile.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/tile_manager.cc View 8 chunks +8 lines, -8 lines 0 comments Download
M cc/resources/tile_manager_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/scheduler/scheduler.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_json_parser_unittest.cc View 3 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
dcheng
dcheng@chromium.org changed reviewers: + danakj@chromium.org, enne@chromium.org
6 years, 4 months ago (2014-08-25 23:24:07 UTC) #1
dcheng
Note: this is the remainder of cc outside cc/trees. Unfortunately, we can't make scoped_refptr testable ...
6 years, 4 months ago (2014-08-25 23:24:07 UTC) #2
enne (OOO)
lgtm, except: https://codereview.chromium.org/502203003/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (left): https://codereview.chromium.org/502203003/diff/1/cc/resources/resource_provider.cc#oldcode2269 cc/resources/resource_provider.cc:2269: ContextProvider* context_provider = output_surface_->context_provider(); This is a ...
6 years, 4 months ago (2014-08-25 23:39:12 UTC) #3
dcheng
Oops. This is the 'assigning a temporary scoped_refptr to a T*' logic kicking in, in ...
6 years, 4 months ago (2014-08-25 23:44:56 UTC) #4
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 4 months ago (2014-08-25 23:45:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/502203003/20001
6 years, 4 months ago (2014-08-25 23:48:49 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel_swarming on tryserver.chromium.mac ...
6 years, 4 months ago (2014-08-26 01:37:09 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-26 02:45:54 UTC) #8
commit-bot: I haz the power
Failed to commit the patch.
6 years, 4 months ago (2014-08-26 02:45:55 UTC) #9
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 3 months ago (2014-08-26 03:51:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/502203003/20001
6 years, 3 months ago (2014-08-26 03:52:51 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (20001) as 3cb9945823cb110ac837a77c124a4e0725a3578d
6 years, 3 months ago (2014-08-26 03:54:26 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:40:13 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/80bc5e3ce73e2a306bec3aca8aa4d54b66b95d04
Cr-Commit-Position: refs/heads/master@{#291833}

Powered by Google App Engine
This is Rietveld 408576698