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

Unified Diff: remoting/protocol/capture_scheduler_unittest.cc

Issue 1178423008: Provision to start base::SimpleTestTickClock at initial ticks Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years 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
« no previous file with comments | « mojo/message_pump/handle_watcher_unittest.cc ('k') | ui/chromeos/touch_exploration_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/capture_scheduler_unittest.cc
diff --git a/remoting/protocol/capture_scheduler_unittest.cc b/remoting/protocol/capture_scheduler_unittest.cc
index fe752d2bd8368d98a5ff985461aae3e2edf785e2..cf18eb429ee36b99fbaf926a0bcf3de633dc47ea 100644
--- a/remoting/protocol/capture_scheduler_unittest.cc
+++ b/remoting/protocol/capture_scheduler_unittest.cc
@@ -30,7 +30,7 @@ class CaptureSchedulerTest : public testing::Test {
base::Bind(&CaptureSchedulerTest::DoCapture, base::Unretained(this))));
scheduler_->set_minimum_interval(
base::TimeDelta::FromMilliseconds(kMinumumFrameIntervalMs));
- tick_clock_ = new base::SimpleTestTickClock();
+ tick_clock_ = new base::SimpleTestTickClock(base::TimeTicks());
scheduler_->SetTickClockForTest(make_scoped_ptr(tick_clock_));
capture_timer_ = new base::MockTimer(false, false);
scheduler_->SetTimerForTest(make_scoped_ptr(capture_timer_));
« no previous file with comments | « mojo/message_pump/handle_watcher_unittest.cc ('k') | ui/chromeos/touch_exploration_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698