diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
commit | 2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (patch) | |
tree | 988e8c5b116dd0466244ae2fe5af8ee9be926d76 /Source/WebKit/chromium/tests/CCTimerTest.cpp | |
parent | dd91e772430dc294e3bf478c119ef8d43c0a3358 (diff) | |
download | qtwebkit-2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47.tar.gz |
Imported WebKit commit 7e538425aa020340619e927792f3d895061fb54b (http://svn.webkit.org/repository/webkit/trunk@116286)
Diffstat (limited to 'Source/WebKit/chromium/tests/CCTimerTest.cpp')
-rw-r--r-- | Source/WebKit/chromium/tests/CCTimerTest.cpp | 6 |
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(); |