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

Side by Side Diff: trunk/src/cc/scheduler/vsync_time_source_unittest.cc

Issue 17204002: Revert 206020 "cc: Emulate BeginFrame in OutputSurfaces that don..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/scheduler/vsync_time_source.h" 5 #include "cc/scheduler/vsync_time_source.h"
6 6
7 #include "cc/test/scheduler_test_common.h" 7 #include "cc/test/scheduler_test_common.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace cc { 10 namespace cc {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 timer_->SetActive(true); 115 timer_->SetActive(true);
116 provider_.Trigger(frame_time); 116 provider_.Trigger(frame_time);
117 ASSERT_EQ(timer_->NextTickTime(), frame_time); 117 ASSERT_EQ(timer_->NextTickTime(), frame_time);
118 118
119 timer_->SetTimebaseAndInterval(frame_time, interval); 119 timer_->SetTimebaseAndInterval(frame_time, interval);
120 ASSERT_EQ(timer_->NextTickTime(), frame_time + interval); 120 ASSERT_EQ(timer_->NextTickTime(), frame_time + interval);
121 } 121 }
122 122
123 } // namespace 123 } // namespace
124 } // namespace cc 124 } // namespace cc
OLDNEW
« no previous file with comments | « trunk/src/cc/scheduler/vsync_time_source.cc ('k') | trunk/src/cc/test/fake_layer_tree_host_impl_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698