summaryrefslogtreecommitdiffstats
path: root/cc/trees/thread_proxy.h
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2015-08-19 15:25:44 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-19 22:27:02 +0000
commit12e2f6e4d40560f94d688e6969eb5d9358ead6e3 (patch)
treef7d0e001ac71760c78ecb2993fec3fcc96c8b403 /cc/trees/thread_proxy.h
parente6828f1324531cc46faadac0e9eff84da59f09cd (diff)
downloadchromium_src-12e2f6e4d40560f94d688e6969eb5d9358ead6e3.zip
chromium_src-12e2f6e4d40560f94d688e6969eb5d9358ead6e3.tar.gz
chromium_src-12e2f6e4d40560f94d688e6969eb5d9358ead6e3.tar.bz2
cc: Move animate steps from proxies to LayerTreeHostImpl.
Currently both proxies have early outs and call a few methods on LayerTreeHostImpl to do animations. This moves it all into a single Animate() call and consolidates the code in LayerTreeHostImpl. The old Animate() method took the current frame_time as an argument, but instead it can use it directly from the BeginFrameArgs. This required changes LayerTreeHostImpl tests that call Animate() to start/end impl frames to change the current frame time (which is more realistic). R=ajuma BUG=522658 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1297363004 Cr-Commit-Position: refs/heads/master@{#344351}
Diffstat (limited to 'cc/trees/thread_proxy.h')
-rw-r--r--cc/trees/thread_proxy.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h
index ae9c733..3aeef74 100644
--- a/cc/trees/thread_proxy.h
+++ b/cc/trees/thread_proxy.h
@@ -129,8 +129,6 @@ class CC_EXPORT ThreadProxy : public Proxy,
bool input_throttled_until_commit;
- base::TimeTicks animation_time;
-
// Whether a commit has been completed since the last time animations were
// ticked. If this happens, we need to animate again.
bool did_commit_after_animating;