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

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

Issue 2583333002: Revert of Dont post delayed DoWork for disabled queues. (Closed)
Patch Set: Created 4 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 | « 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 fe48cb904c0ddaa62625df48c1c8466261e442b2..42251b0e09c04f1f965b6847511014d35819d10c 100644
--- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
+++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
@@ -217,10 +217,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