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

Unified Diff: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp

Issue 2674903003: Revert of Dont post delayed DoWork for disabled queues. (Closed)
Patch Set: Created 3 years, 10 months 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 | « third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
diff --git a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
index 7dfccd7f95b3bf4980be3b1fbecb8425aa9958da..75d00bb44bdb3d3d95ab8b28a3b383d1cdff1643 100644
--- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
+++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
@@ -219,10 +219,6 @@
m_mockTaskRunner,
base::WrapUnique(new scheduler::TestTimeSource(m_clock.get()))))),
m_thread(m_scheduler->CreateMainThread()) {
- // We need a non-zero start time because LazyNow in the blink scheduler can't
- // be initialized with time t = 0;
- m_clock->Advance(base::TimeDelta::FromSeconds(1));
-
// Set the work batch size to one so RunPendingTasks behaves as expected.
m_scheduler->GetSchedulerHelperForTesting()->SetWorkBatchSizeForTesting(1);
« no previous file with comments | « third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698