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

Unified Diff: cc/trees/layer_tree_host_impl_unittest.cc

Issue 429743003: Rename Animate as Begin(Main)Frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a typo that made tests fail. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_host_impl_unittest.cc
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc
index a940e3487625981d71e6fe4e14bca2f2c7701249..b2739245c33cfc1d19f78f48813f5eb6c3a5ad80 100644
--- a/cc/trees/layer_tree_host_impl_unittest.cc
+++ b/cc/trees/layer_tree_host_impl_unittest.cc
@@ -1312,8 +1312,10 @@ class LayerTreeHostImplOverridePhysicalTime : public LayerTreeHostImpl {
manager,
0) {}
- virtual base::TimeTicks CurrentFrameTimeTicks() OVERRIDE {
- return fake_current_physical_time_;
+ virtual BeginFrameArgs CurrentBeginFrameArgs() const OVERRIDE {
+ return BeginFrameArgs::Create(fake_current_physical_time_,
+ base::TimeTicks(),
+ BeginFrameArgs::DefaultInterval());
mithro-old 2014/08/11 07:33:33 src/cc/test/begin_frame_args_test.h has helpers fo
Sami 2014/08/11 17:51:26 Done.
}
void SetCurrentPhysicalTimeTicksForTest(base::TimeTicks fake_now) {

Powered by Google App Engine
This is Rietveld 408576698