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

Issue 417843003: Make Surface::GetEligibleFrame const (Closed)

Created:
6 years, 5 months ago by jbauman
Modified:
6 years, 5 months ago
Reviewers:
jamesr
CC:
chromium-reviews, cc-bugs_chromium.org
Project:
chromium
Visibility:
Public.

Description

Make Surface::GetEligibleFrame const The frame shouldn't be modified by the aggregator, or else it will be broken if GetEligibleFrame is called again. Also modify ScopedPtrVector::const_iterator to make it const-correct. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285431

Patch Set 1 #

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -19 lines) Patch
M cc/base/scoped_ptr_vector.h View 1 chunk +1 line, -1 line 1 comment Download
M cc/surfaces/surface.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/surface.cc View 1 chunk +3 lines, -1 line 0 comments Download
M cc/surfaces/surface_aggregator.h View 1 chunk +3 lines, -1 line 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 7 chunks +18 lines, -15 lines 1 comment Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jbauman
6 years, 5 months ago (2014-07-24 17:34:28 UTC) #1
jamesr
https://codereview.chromium.org/417843003/diff/20001/cc/base/scoped_ptr_vector.h File cc/base/scoped_ptr_vector.h (right): https://codereview.chromium.org/417843003/diff/20001/cc/base/scoped_ptr_vector.h#newcode25 cc/base/scoped_ptr_vector.h:25: typedef typename std::vector<T*>::const_reverse_iterator this one too? https://codereview.chromium.org/417843003/diff/20001/cc/surfaces/surface_aggregator.cc File cc/surfaces/surface_aggregator.cc ...
6 years, 5 months ago (2014-07-24 19:55:48 UTC) #2
jbauman
On 2014/07/24 19:55:48, jamesr wrote: > https://codereview.chromium.org/417843003/diff/20001/cc/base/scoped_ptr_vector.h > File cc/base/scoped_ptr_vector.h (right): > > https://codereview.chromium.org/417843003/diff/20001/cc/base/scoped_ptr_vector.h#newcode25 > ...
6 years, 5 months ago (2014-07-24 20:02:29 UTC) #3
jamesr
ah, right. lgtm then
6 years, 5 months ago (2014-07-24 20:03:46 UTC) #4
jbauman
The CQ bit was checked by jbauman@chromium.org
6 years, 5 months ago (2014-07-24 20:32:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/417843003/20001
6 years, 5 months ago (2014-07-24 20:36:21 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium ...
6 years, 5 months ago (2014-07-24 21:45:57 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-24 22:27:06 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel_swarming/builds/2117)
6 years, 5 months ago (2014-07-24 22:27:07 UTC) #9
jbauman
The CQ bit was checked by jbauman@chromium.org
6 years, 5 months ago (2014-07-25 00:13:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/417843003/20001
6 years, 5 months ago (2014-07-25 00:17:41 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 00:21:47 UTC) #12
Message was sent while issue was closed.
Change committed as 285431

Powered by Google App Engine
This is Rietveld 408576698