Index: storage/browser/blob/blob_memory_controller.cc |
diff --git a/storage/browser/blob/blob_memory_controller.cc b/storage/browser/blob/blob_memory_controller.cc |
index 27370be1c3f818c80f34c54177e27bc6ccf0155c..cc9e85d6e02790d05283fa546a97e43d97219bd7 100644 |
--- a/storage/browser/blob/blob_memory_controller.cc |
+++ b/storage/browser/blob/blob_memory_controller.cc |
@@ -952,8 +952,10 @@ void BlobMemoryController::OnEvictionComplete( |
void BlobMemoryController::OnMemoryPressure( |
base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level) { |
auto time_from_last_evicion = base::TimeTicks::Now() - last_eviction_time_; |
- if (time_from_last_evicion.InSeconds() < kMinSecondsForPressureEvictions) |
+ if (last_eviction_time_ != base::TimeTicks() && |
+ time_from_last_evicion.InSeconds() < kMinSecondsForPressureEvictions) { |
return; |
+ } |
MaybeScheduleEvictionUntilSystemHealthy(memory_pressure_level); |
} |