https://bugs.webkit.org/show_bug.cgi?id=103790
authorbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Dec 2012 00:53:01 +0000 (00:53 +0000)
committerbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Dec 2012 00:53:01 +0000 (00:53 +0000)
The LayerPool m_pruneTimer should have a longer delay

Reviewed by Simon Fraser.

A 1 second delay is more appropriate here.
* platform/graphics/ca/mac/LayerPool.mm:
(WebCore::LayerPool::schedulePrune):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136298 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ca/mac/LayerPool.mm

index d6a470e..32475ea 100644 (file)
@@ -1,3 +1,14 @@
+2012-11-30  Beth Dakin  <bdakin@apple.com>
+
+        https://bugs.webkit.org/show_bug.cgi?id=103790
+        The LayerPool m_pruneTimer should have a longer delay
+
+        Reviewed by Simon Fraser.
+
+        A 1 second delay is more appropriate here.
+        * platform/graphics/ca/mac/LayerPool.mm:
+        (WebCore::LayerPool::schedulePrune):
+
 2012-11-30  Jer Noble  <jer.noble@apple.com>
 
         Unreviewed Windows build fix.
index a845b1e..1e1345b 100644 (file)
@@ -104,7 +104,7 @@ void LayerPool::schedulePrune()
 {
     if (m_pruneTimer.isActive())
         return;
-    m_pruneTimer.startOneShot(0);
+    m_pruneTimer.startOneShot(1);
 }
 
 void LayerPool::pruneTimerFired(Timer<LayerPool>*)