Title: [113926] trunk/Source/WebKit2
Revision
113926
Author
[email protected]
Date
2012-04-11 16:46:20 -0700 (Wed, 11 Apr 2012)

Log Message

Remove an autorelease pool made redundant by r113923.
https://bugs.webkit.org/show_bug.cgi?id=83730

Reviewed by Dan Bernstein.

Remove flushLayer()'s autorelease pool, since one now exists in the
call frame above it (in LayerFlushScheduler::runLoopObserverCallback()).

* WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm:
(WebKit::LayerTreeHostCAMac::flushLayers):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (113925 => 113926)


--- trunk/Source/WebKit2/ChangeLog	2012-04-11 23:41:53 UTC (rev 113925)
+++ trunk/Source/WebKit2/ChangeLog	2012-04-11 23:46:20 UTC (rev 113926)
@@ -1,3 +1,16 @@
+2012-04-11  Andy Estes  <[email protected]>
+
+        Remove an autorelease pool made redundant by r113923.
+        https://bugs.webkit.org/show_bug.cgi?id=83730
+
+        Reviewed by Dan Bernstein.
+        
+        Remove flushLayer()'s autorelease pool, since one now exists in the
+        call frame above it (in LayerFlushScheduler::runLoopObserverCallback()).
+
+        * WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm:
+        (WebKit::LayerTreeHostCAMac::flushLayers):
+
 2012-04-11  Carlos Garcia Campos  <[email protected]>
 
         [GTK] Initial cookies API for WebKit2 GTK+ API

Modified: trunk/Source/WebKit2/WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm (113925 => 113926)


--- trunk/Source/WebKit2/WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm	2012-04-11 23:41:53 UTC (rev 113925)
+++ trunk/Source/WebKit2/WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm	2012-04-11 23:46:20 UTC (rev 113926)
@@ -128,11 +128,7 @@
 
 bool LayerTreeHostCAMac::flushLayers()
 {
-    // This gets called outside of the normal event loop so wrap in an autorelease pool
-    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
     performScheduledLayerFlush();
-    [pool drain];
-
     return true;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to