Index: third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp |
diff --git a/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp b/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp |
index eafb280cb4d1419bd7221aa3fe3f55734400cc62..d0e10b613f9fb63df7122d46540f79525d16ad04 100644 |
--- a/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp |
+++ b/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp |
@@ -68,7 +68,8 @@ void RunPendingTasks() { |
void RunDelayedTasks(double delay_ms) { |
Platform::Current()->CurrentThread()->GetWebTaskRunner()->PostDelayedTask( |
- BLINK_FROM_HERE, WTF::Bind(&ExitRunLoop), delay_ms); |
+ BLINK_FROM_HERE, WTF::Bind(&ExitRunLoop), |
+ TimeDelta::FromMillisecondsD(delay_ms)); |
EnterRunLoop(); |
} |