summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_layer_tree_host_impl.h
diff options
context:
space:
mode:
authornduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-19 01:19:32 +0000
committernduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-19 01:19:32 +0000
commit2d69299a7881760d261b7c3b8f2c7d07c260d10a (patch)
tree83c881644922b3470cdccf12e6a721c0b1d0cc61 /cc/test/fake_layer_tree_host_impl.h
parent16d42e6f5652b890b1ee4c7875711c85bec3f916 (diff)
downloadchromium_src-2d69299a7881760d261b7c3b8f2c7d07c260d10a.zip
chromium_src-2d69299a7881760d261b7c3b8f2c7d07c260d10a.tar.gz
chromium_src-2d69299a7881760d261b7c3b8f2c7d07c260d10a.tar.bz2
[cc] Fold more update calls into updateDrawProperties
(Reland of https://codereview.chromium.org/11529006/) Now that we have a clean update system, we can remove the manual calling of updateRootScrollLayerImplTransform and other similar kinds of "I'm going to do something manually in a half dozen places because I can." This removes some surface area on LTHI which helps with the LTHI->LTI push. BUG=155209 TBR=enne Review URL: https://chromiumcodereview.appspot.com/11573069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_layer_tree_host_impl.h')
-rw-r--r--cc/test/fake_layer_tree_host_impl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cc/test/fake_layer_tree_host_impl.h b/cc/test/fake_layer_tree_host_impl.h
index f61fad7..2be2c05 100644
--- a/cc/test/fake_layer_tree_host_impl.h
+++ b/cc/test/fake_layer_tree_host_impl.h
@@ -16,7 +16,11 @@ class FakeLayerTreeHostImpl : public LayerTreeHostImpl {
FakeLayerTreeHostImpl(Proxy* proxy);
virtual ~FakeLayerTreeHostImpl();
- using LayerTreeHostImpl::resetNeedsUpdateDrawPropertiesForTesting;
+ void forcePrepareToDraw() {
+ LayerTreeHostImpl::FrameData frameData;
+ prepareToDraw(frameData);
+ didDrawAllLayers(frameData);
+ }
private:
FakeLayerTreeHostImplClient client_;