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

Issue 23463042: LayerTreeHost should not modify the LayerTreeSettings object. Instead it should use a temporary va… (Closed)

Created:
7 years, 3 months ago by atreat
Modified:
7 years, 2 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

LayerTreeHost should not modify the LayerTreeSettings object. Instead it should use a temporary variable wherever needed and leave the settings object const. This patch removes the last instance of this behavior and makes the settings object const. BUG=234233 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227149

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed the formatting. #

Total comments: 1

Patch Set 3 : Fix the change in logic #

Patch Set 4 : Fix the patch to pass tests #

Total comments: 2

Patch Set 5 : Revise to take into account 25912003 #

Total comments: 1

Patch Set 6 : Fix the case for the method name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -17 lines) Patch
M cc/trees/layer_tree_host.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 2 chunks +12 lines, -11 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 5 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
atreat
7 years, 3 months ago (2013-09-17 21:08:03 UTC) #1
danakj
LGTM w/ one nit. Thanks! https://codereview.chromium.org/23463042/diff/1/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/23463042/diff/1/cc/trees/layer_tree_host.cc#newcode1080 cc/trees/layer_tree_host.cc:1080: !settings_.impl_side_painting) { indenting is ...
7 years, 3 months ago (2013-09-17 21:11:19 UTC) #2
atreat
Fixed the formatting. I've also installed clang-format so I can do 'git cl format' from ...
7 years, 3 months ago (2013-09-17 22:04:48 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/23463042/6001
7 years, 3 months ago (2013-09-17 22:10:55 UTC) #4
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=25941
7 years, 3 months ago (2013-09-17 22:31:50 UTC) #5
danakj
Looks like you have some work to do: adam.treat@samsung.com is not in AUTHORS file. If ...
7 years, 3 months ago (2013-09-17 22:41:40 UTC) #6
danakj
https://chromiumcodereview.appspot.com/23463042/diff/6001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://chromiumcodereview.appspot.com/23463042/diff/6001/cc/trees/layer_tree_host.cc#newcode1078 cc/trees/layer_tree_host.cc:1078: size_t max_partial_texture_updates = settings_.max_partial_texture_updates; Oh, this should be 0 ...
7 years, 3 months ago (2013-09-17 22:44:23 UTC) #7
atreat
Sorry about the change in logic. I've fixed as you suggested. Laszlo Gombos has requested ...
7 years, 3 months ago (2013-09-18 14:20:06 UTC) #8
danakj
Ok thanks, patchset 3 LGTM
7 years, 3 months ago (2013-09-18 14:34:16 UTC) #9
atreat
On 2013/09/18 14:34:16, danakj wrote: > Ok thanks, patchset 3 LGTM Hello. I think the ...
7 years, 2 months ago (2013-09-30 18:04:38 UTC) #10
danakj
On 2013/09/30 18:04:38, atreat wrote: > On 2013/09/18 14:34:16, danakj wrote: > > Ok thanks, ...
7 years, 2 months ago (2013-09-30 19:32:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/23463042/6002
7 years, 2 months ago (2013-09-30 19:32:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/23463042/6002
7 years, 2 months ago (2013-09-30 19:34:20 UTC) #13
atreat
On 2013/09/30 19:32:04, danakj wrote: > On 2013/09/30 18:04:38, atreat wrote: > > On 2013/09/18 ...
7 years, 2 months ago (2013-09-30 19:57:25 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) cc_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=173817
7 years, 2 months ago (2013-09-30 22:38:42 UTC) #15
atreat
On 2013/09/30 22:38:42, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 2 months ago (2013-10-01 23:17:47 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/23463042/6002
7 years, 2 months ago (2013-10-01 23:20:25 UTC) #17
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) cc_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=174278
7 years, 2 months ago (2013-10-02 00:18:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/23463042/6002
7 years, 2 months ago (2013-10-02 00:58:55 UTC) #19
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 2 months ago (2013-10-02 01:12:32 UTC) #20
danakj
These unit test failures need to be addressed. On Oct 1, 2013 8:18 PM, <commit-bot@chromium.org> ...
7 years, 2 months ago (2013-10-02 05:34:06 UTC) #21
atreat
On 2013/10/02 05:34:06, danakj wrote: > These unit test failures need to be addressed. Working ...
7 years, 2 months ago (2013-10-02 16:52:05 UTC) #22
atreat
I changed the patch around to take into account LayerTreeHost::buffered_updates() so that it continues to ...
7 years, 2 months ago (2013-10-02 19:18:47 UTC) #23
danakj
LGTM w/ 2 things. Btw buffered_updates() should be called from TiledLayer::Update() which is done on ...
7 years, 2 months ago (2013-10-03 17:42:25 UTC) #24
danakj
With https://codereview.chromium.org/25912003/ I think this can go back to mostly the previous version, without the ...
7 years, 2 months ago (2013-10-03 18:49:23 UTC) #25
atreat
This revision takes into account your recent changes and restores the original idea, but now ...
7 years, 2 months ago (2013-10-04 17:14:47 UTC) #26
danakj
https://codereview.chromium.org/23463042/diff/80001/cc/trees/layer_tree_host.h File cc/trees/layer_tree_host.h (right): https://codereview.chromium.org/23463042/diff/80001/cc/trees/layer_tree_host.h#newcode276 cc/trees/layer_tree_host.h:276: size_t max_partial_texture_updates() const; Cool! Sorry to be confusing, but ...
7 years, 2 months ago (2013-10-04 17:19:15 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/23463042/88001
7 years, 2 months ago (2013-10-04 17:36:47 UTC) #28
commit-bot: I haz the power
7 years, 2 months ago (2013-10-05 00:27:03 UTC) #29
Message was sent while issue was closed.
Change committed as 227149

Powered by Google App Engine
This is Rietveld 408576698