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

Issue 2710593003: cc: Fix const value pattern by replacing it by non-const or reference. (Closed)

Created:
3 years, 10 months ago by vmpstr
Modified:
3 years, 10 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Fix const value pattern by replacing it by non-const or reference. This patch changes cc to ensure that we don't have a const value parameters. These are replaced by either non-const value or by reference to const depending on the situation. R=danakj@chromium.org BUG=691787 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2710593003 Cr-Commit-Position: refs/heads/master@{#452177} Committed: https://chromium.googlesource.com/chromium/src/+/0e5ce3e075b6bdde16328a4f280a1f8ba8621a2f

Patch Set 1 #

Total comments: 3

Patch Set 2 : update rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -24 lines) Patch
M cc/animation/animation_host_perftest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/input/page_scale_animation.h View 1 1 chunk +8 lines, -9 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/pixel_comparator.h View 1 chunk +6 lines, -6 lines 0 comments Download
M cc/tiles/prioritized_tile.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/tiles/prioritized_tile.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/tiles/software_image_decode_cache.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (9 generated)
vmpstr
Please take a look.
3 years, 10 months ago (2017-02-21 18:25:54 UTC) #2
danakj
LGTM https://codereview.chromium.org/2710593003/diff/1/cc/debug/rasterize_and_record_benchmark_impl.cc File cc/debug/rasterize_and_record_benchmark_impl.cc (right): https://codereview.chromium.org/2710593003/diff/1/cc/debug/rasterize_and_record_benchmark_impl.cc#newcode73 cc/debug/rasterize_and_record_benchmark_impl.cc:73: const Region& invalidation) o geez https://codereview.chromium.org/2710593003/diff/1/cc/input/page_scale_animation.h File cc/input/page_scale_animation.h ...
3 years, 10 months ago (2017-02-21 20:20:30 UTC) #3
vmpstr
https://codereview.chromium.org/2710593003/diff/1/cc/input/page_scale_animation.h File cc/input/page_scale_animation.h (right): https://codereview.chromium.org/2710593003/diff/1/cc/input/page_scale_animation.h#newcode24 cc/input/page_scale_animation.h:24: bool _use_anchor, On 2017/02/21 20:20:29, danakj wrote: > these ...
3 years, 10 months ago (2017-02-21 20:29:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2710593003/20001
3 years, 10 months ago (2017-02-21 20:31:14 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_daisy_chromium_compile_only_ng on ...
3 years, 10 months ago (2017-02-21 22:37:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2710593003/20001
3 years, 10 months ago (2017-02-22 00:22:56 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_compile_dbg_ng on ...
3 years, 10 months ago (2017-02-22 02:26:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2710593003/20001
3 years, 10 months ago (2017-02-22 18:50:17 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 20:09:48 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0e5ce3e075b6bdde16328a4f280a...

Powered by Google App Engine
This is Rietveld 408576698