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

Unified Diff: mojo/message_pump/handle_watcher_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 | « media/renderers/video_renderer_impl_unittest.cc ('k') | remoting/protocol/capture_scheduler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/message_pump/handle_watcher_unittest.cc
diff --git a/mojo/message_pump/handle_watcher_unittest.cc b/mojo/message_pump/handle_watcher_unittest.cc
index 14c1851202f3682dcabef1076d072b40969e5b54..4ee97a2ae9844ee6ef23d98959d0e05c5230bf0e 100644
--- a/mojo/message_pump/handle_watcher_unittest.cc
+++ b/mojo/message_pump/handle_watcher_unittest.cc
@@ -121,7 +121,9 @@ class CallbackHelper {
class HandleWatcherTest : public testing::TestWithParam<MessageLoopConfig> {
public:
- HandleWatcherTest() : message_loop_(CreateMessageLoop(GetParam())) {}
+ HandleWatcherTest()
+ : tick_clock_(base::TimeTicks()),
+ message_loop_(CreateMessageLoop(GetParam())) {}
virtual ~HandleWatcherTest() {
test::SetTickClockForTest(NULL);
}
« no previous file with comments | « media/renderers/video_renderer_impl_unittest.cc ('k') | remoting/protocol/capture_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698