summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/tests/CCTimerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/tests/CCTimerTest.cpp')
-rw-r--r--Source/WebKit/chromium/tests/CCTimerTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebKit/chromium/tests/CCTimerTest.cpp b/Source/WebKit/chromium/tests/CCTimerTest.cpp
index 298b69562..398fca56e 100644
--- a/Source/WebKit/chromium/tests/CCTimerTest.cpp
+++ b/Source/WebKit/chromium/tests/CCTimerTest.cpp
@@ -54,7 +54,7 @@ protected:
TEST_F(CCTimerTest, OneShot)
{
CCTimer timer(&m_thread, this);
- timer.startOneShot(1);
+ timer.startOneShot(0.001);
m_thread.runPendingTask();
EXPECT_TRUE(m_flag);
@@ -64,7 +64,7 @@ TEST_F(CCTimerTest, OneShot)
TEST_F(CCTimerTest, StopManually)
{
CCTimer timer(&m_thread, this);
- timer.startOneShot(1);
+ timer.startOneShot(0.001);
timer.stop();
m_thread.runPendingTask();
@@ -76,7 +76,7 @@ TEST_F(CCTimerTest, StopByScope)
{
{
CCTimer timer(&m_thread, this);
- timer.startOneShot(1);
+ timer.startOneShot(0.001);
}
m_thread.runPendingTask();