summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_impl_proxy.h
Commit message (Collapse)AuthorAgeFilesLines
* cc: Pass LayerTreeHostImpl to LayerImpl constructorenne@chromium.org2012-12-071-0/+27
In order to allow for LayerImpl to notify its host when one of its property changes, it needs to more robustly have its host set (which is not the case in most tests). To avoid a recursive pass when adding children or after layer synchronization, instead just pass it to the constructor of LayerImpl, since a given LayerImpl will never move from one host to another. NOTRY=true BUG=none Review URL: https://chromiumcodereview.appspot.com/11472021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171830 0039d316-1c4b-4281-b951-d872f2087c98