Title: [124971] branches/safari-536.26-branch/Source/WebCore
- Revision
- 124971
- Author
- [email protected]
- Date
- 2012-08-07 19:27:58 -0700 (Tue, 07 Aug 2012)
Log Message
Merged r124829. <rdar://problem/12043768>
Modified Paths
Diff
Modified: branches/safari-536.26-branch/Source/WebCore/ChangeLog (124970 => 124971)
--- branches/safari-536.26-branch/Source/WebCore/ChangeLog 2012-08-08 02:25:52 UTC (rev 124970)
+++ branches/safari-536.26-branch/Source/WebCore/ChangeLog 2012-08-08 02:27:58 UTC (rev 124971)
@@ -1,5 +1,23 @@
2012-08-07 Lucas Forschler <[email protected]>
+ Merge 124829
+
+ 2012-08-06 Anders Carlsson <[email protected]>
+
+ Clear out the TileCache backpointer for all tile layers when the tile cache is destroyed
+ https://bugs.webkit.org/show_bug.cgi?id=93317
+ <rdar://problem/11566543>
+
+ Reviewed by Dean Jackson.
+
+ It seems that in some rare cases, the tile cache layer can be destroyed in the same transaction as tile layers
+ are being asked to paint. Make sure to null out the TileCache back pointer for all layers in the TileCache destructor.
+
+ * platform/graphics/ca/mac/TileCache.mm:
+ (WebCore::TileCache::~TileCache):
+
+2012-08-07 Lucas Forschler <[email protected]>
+
Merge 124714
2012-08-04 Dan Bernstein <[email protected]>
Modified: branches/safari-536.26-branch/Source/WebCore/platform/graphics/ca/mac/TileCache.mm (124970 => 124971)
--- branches/safari-536.26-branch/Source/WebCore/platform/graphics/ca/mac/TileCache.mm 2012-08-08 02:25:52 UTC (rev 124970)
+++ branches/safari-536.26-branch/Source/WebCore/platform/graphics/ca/mac/TileCache.mm 2012-08-08 02:27:58 UTC (rev 124971)
@@ -73,6 +73,11 @@
TileCache::~TileCache()
{
ASSERT(isMainThread());
+
+ for (TileMap::iterator it = m_tiles.begin(), end = m_tiles.end(); it != end; ++it) {
+ WebTileLayer* tileLayer = it->second.get();
+ [tileLayer setTileCache:0];
+ }
}
void TileCache::tileCacheLayerBoundsChanged()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes