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

Unified Diff: chrome/browser/sessions/session_restore_stats_collector_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
Index: chrome/browser/sessions/session_restore_stats_collector_unittest.cc
diff --git a/chrome/browser/sessions/session_restore_stats_collector_unittest.cc b/chrome/browser/sessions/session_restore_stats_collector_unittest.cc
index 45d1c0cfcb5d6eabb4c7aa863d63a11e8e2b2445..056104b849951ee635f6405a70348b7ce478f03b 100644
--- a/chrome/browser/sessions/session_restore_stats_collector_unittest.cc
+++ b/chrome/browser/sessions/session_restore_stats_collector_unittest.cc
@@ -196,7 +196,7 @@ class SessionRestoreStatsCollectorTest : public testing::Test {
// A raw pointer is kept to it so that it can be modified from the outside.
// The unittest must take care to access the clock only while the
// SessionRestoreStatsCollector under test is still alive.
- test_tick_clock_ = new base::SimpleTestTickClock();
+ test_tick_clock_ = new base::SimpleTestTickClock(base::TimeTicks());
// Create a stats collector, keep a raw pointer to it, and detach from it.
// The stats collector will stay alive as long as it has not yet completed
« no previous file with comments | « chrome/browser/memory/tab_manager_web_contents_data_unittest.cc ('k') | chrome/renderer/media/cast_ipc_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698