Index: chrome/browser/chromeos/memory/oom_priority_manager_unittest.cc |
diff --git a/chrome/browser/chromeos/memory/oom_priority_manager_unittest.cc b/chrome/browser/chromeos/memory/oom_priority_manager_unittest.cc |
index 6c2e6721d1a5d5e7f50577fa52cf8e91a95ab14d..9280b9f7bbee5438a1b054ad5d874d19d2fb08c8 100644 |
--- a/chrome/browser/chromeos/memory/oom_priority_manager_unittest.cc |
+++ b/chrome/browser/chromeos/memory/oom_priority_manager_unittest.cc |
@@ -35,13 +35,12 @@ |
// desired order. |
TEST_F(OomPriorityManagerTest, Comparator) { |
chromeos::OomPriorityManager::TabStatsList test_list; |
- const base::Time now = base::Time::Now(); |
+ const base::TimeTicks now = base::TimeTicks::Now(); |
// Add kSelected last to verify we are sorting the array. |
{ |
OomPriorityManager::TabStats stats; |
- stats.last_active = now; |
stats.is_pinned = true; |
stats.renderer_handle = kPinned; |
stats.child_process_host_id = kPinned; |
@@ -50,7 +49,6 @@ |
{ |
OomPriorityManager::TabStats stats; |
- stats.last_active = now; |
stats.is_app = true; |
stats.renderer_handle = kApp; |
stats.child_process_host_id = kApp; |
@@ -59,7 +57,6 @@ |
{ |
OomPriorityManager::TabStats stats; |
- stats.last_active = now; |
stats.is_playing_audio = true; |
stats.renderer_handle = kPlayingAudio; |
stats.child_process_host_id = kPlayingAudio; |
@@ -101,7 +98,6 @@ |
{ |
OomPriorityManager::TabStats stats; |
- stats.last_active = now; |
stats.is_reloadable_ui = true; |
stats.renderer_handle = kReloadableUI; |
stats.child_process_host_id = kReloadableUI; |
@@ -112,7 +108,6 @@ |
// we are actually sorting the array. |
{ |
OomPriorityManager::TabStats stats; |
- stats.last_active = now; |
stats.is_selected = true; |
stats.renderer_handle = kSelected; |
stats.child_process_host_id = kSelected; |