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

Issue 441863002: cc: Make sure mask and replica layers get DidBecomeActive signal. (Closed)

Created:
6 years, 4 months ago by vmpstr
Modified:
6 years, 4 months ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Project:
chromium
Visibility:
Public.

Description

cc: Make sure mask and replica layers get DidBecomeActive signal. Since we create and rasterize mask and replica layer tiles as well, we need to ensure that they get the DidBecomeActive signal in order to ensure the tile priorities of the contained tiles are correct. (DidBecomeActive switches active and pending priorities and clears the pending priority). Without this, there are cases where the pending priority can remain high without any mechanism clearing it. BUG=400560 R=enne Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287693

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : +test #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -7 lines) Patch
M cc/test/fake_picture_layer_impl.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M cc/test/fake_picture_layer_impl.cc View 1 2 3 chunks +17 lines, -7 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
vmpstr
PTAL. I kind of followed the pattern we have for UpdateTiles here. Aside from updating ...
6 years, 4 months ago (2014-08-05 01:43:44 UTC) #1
danakj
Thanks. Can has test?
6 years, 4 months ago (2014-08-05 13:24:48 UTC) #2
vmpstr
On 2014/08/05 13:24:48, danakj wrote: > Thanks. Can has test? PTAL. Added a test that ...
6 years, 4 months ago (2014-08-05 16:51:03 UTC) #3
enne (OOO)
Mask and replica layers, always a bug factory. lgtm
6 years, 4 months ago (2014-08-05 17:09:58 UTC) #4
danakj
Thanks! LGTM2 https://codereview.chromium.org/441863002/diff/30001/cc/test/fake_picture_layer_impl.h File cc/test/fake_picture_layer_impl.h (right): https://codereview.chromium.org/441863002/diff/30001/cc/test/fake_picture_layer_impl.h#newcode45 cc/test/fake_picture_layer_impl.h:45: size_t get_did_become_active_call_count() { inline accessor methods should ...
6 years, 4 months ago (2014-08-05 17:16:48 UTC) #5
vmpstr
https://codereview.chromium.org/441863002/diff/30001/cc/test/fake_picture_layer_impl.h File cc/test/fake_picture_layer_impl.h (right): https://codereview.chromium.org/441863002/diff/30001/cc/test/fake_picture_layer_impl.h#newcode45 cc/test/fake_picture_layer_impl.h:45: size_t get_did_become_active_call_count() { On 2014/08/05 17:16:47, danakj wrote: > ...
6 years, 4 months ago (2014-08-05 18:54:34 UTC) #6
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 4 months ago (2014-08-05 18:54:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/441863002/50001
6 years, 4 months ago (2014-08-05 18:55:31 UTC) #8
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 05:58:29 UTC) #9
Message was sent while issue was closed.
Change committed as 287693

Powered by Google App Engine
This is Rietveld 408576698