cc: Make sure mask and replica layers get DidBecomeActive signal.
commitdb2e29cd8948793e26b82dc58ba7c38649131976
authorvmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 6 Aug 2014 05:58:25 +0000 (6 05:58 +0000)
committervmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 6 Aug 2014 05:58:25 +0000 (6 05:58 +0000)
tree8379dfb10f4b3f9781ed0aaac908495dfaee1f76
parent9a9a6695ab38e3e339e8f58df1163d5c1e98c9b9
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

Review URL: https://codereview.chromium.org/441863002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287693 0039d316-1c4b-4281-b951-d872f2087c98
cc/test/fake_picture_layer_impl.cc
cc/test/fake_picture_layer_impl.h
cc/trees/layer_tree_host_impl_unittest.cc
cc/trees/layer_tree_impl.cc